Hello, why am I getting this error

2022-10-26 Thread Samuel Nzola
Page not found (404)
Request Method:
GET
Request URL:
http://127.0.0.1:8000/delete-room/6/%3E

Using the URLconf defined in studybud.urls, Django tried these URL 
patterns, in this order:

   1. admin/
   2. [name='home']
   3. room// [name='room']
   4. create-room/ [name='create-room']
   5. update-room// [name='update-room']
   6. delete-room// [name='delete-room']

The current path, delete-room/6/>, didn’t match any of these.



here is my url.py in my project
from django.urls import URLPattern, path, include
from . import views

urlpatterns=[
path('', views.home, name='home'),
path('room//', views.room, name="room"),
path('create-room/', views.createRoom, name="create-room"),
path('update-room//', views.updateRoom, name="update-room"),
path('delete-room//', views.deleteRoom, name="delete-room"),
]

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8139e6f0-5a65-4303-951e-bc182be546cdn%40googlegroups.com.


Re: Hello, why am I getting this error

2022-10-26 Thread Samuel Nzola
Please help

On Thursday, October 27, 2022 at 4:56:29 AM UTC+3 Samuel Nzola wrote:

> Page not found (404)
> Request Method:
> GET
> Request URL:
> http://127.0.0.1:8000/delete-room/6/%3E
>
> Using the URLconf defined in studybud.urls, Django tried these URL 
> patterns, in this order:
>
>1. admin/
>2. [name='home']
>3. room// [name='room']
>4. create-room/ [name='create-room']
>5. update-room// [name='update-room']
>6. delete-room// [name='delete-room']
>
> The current path, delete-room/6/>, didn’t match any of these.
>
>
>
> here is my url.py in my project
> from django.urls import URLPattern, path, include
> from . import views
>
> urlpatterns=[
> path('', views.home, name='home'),
> path('room//', views.room, name="room"),
> path('create-room/', views.createRoom, name="create-room"),
> path('update-room//', views.updateRoom, name="update-room"),
> path('delete-room//', views.deleteRoom, name="delete-room"),
> ]
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/58bebe13-fd8e-444a-8ed4-edcdf2f509dcn%40googlegroups.com.


Re: Hello, why am I getting this error

2022-10-27 Thread 'Kasper Laudrup' via Django users

As the error message clearly states, the path:

 6. delete-room// [name='delete-room']


doesn't match:


The current path, delete-room/6/>, didn’t match any of these.


Documentation:

https://docs.djangoproject.com/en/4.1/topics/http/urls/

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d8011f3a-f426-19f9-2107-1be5152dddf7%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Hello, why am I getting this error

2022-10-27 Thread Samuel Nzola
Thajnkyou, though i cannot fix the error still

On Thursday, October 27, 2022 at 11:45:38 AM UTC+3 Kasper Laudrup wrote:

> As the error message clearly states, the path:
> > 6. delete-room// [name='delete-room']
>
> doesn't match:
>
> > The current path, delete-room/6/>, didn’t match any of these.
>
> Documentation:
>
> https://docs.djangoproject.com/en/4.1/topics/http/urls/
>
> Kind regards,
>
> Kasper Laudrup
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7dd41486-f1e8-475b-9506-b42a6365fe68n%40googlegroups.com.


Re: Hello, why am I getting this error

2022-10-27 Thread Samuel Nzola
Error fixed

On Thu, Oct 27, 2022, 14:59 Samuel Nzola  wrote:

> Thajnkyou, though i cannot fix the error still
>
> On Thursday, October 27, 2022 at 11:45:38 AM UTC+3 Kasper Laudrup wrote:
>
>> As the error message clearly states, the path:
>> > 6. delete-room// [name='delete-room']
>>
>> doesn't match:
>>
>> > The current path, delete-room/6/>, didn’t match any of these.
>>
>> Documentation:
>>
>> https://docs.djangoproject.com/en/4.1/topics/http/urls/
>>
>> Kind regards,
>>
>> Kasper Laudrup
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/7dd41486-f1e8-475b-9506-b42a6365fe68n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADd0%3DJ9wRqrbB%3Dgfagi9oPfY53pjMoV0K--4ur92N7vqm%2B%2BiSw%40mail.gmail.com.