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/<str:pk>/ [name='room'] > 4. create-room/ [name='create-room'] > 5. update-room/<str:pk>/ [name='update-room'] > 6. delete-room/<str:pk>/ [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/<str:pk>/', views.room, name="room"), > path('create-room/', views.createRoom, name="create-room"), > path('update-room/<str:pk>/', views.updateRoom, name="update-room"), > path('delete-room/<str:pk>/', 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.