diff options
author | pnshiralkar | 2020-05-14 16:53:38 +0530 |
---|---|---|
committer | pnshiralkar | 2020-05-14 16:53:38 +0530 |
commit | 6620c14b338c989a610cae10bb9962f3fe550cbf (patch) | |
tree | 23216d7cce469dd4c9ae56797181e0771d260349 | |
parent | 7ff5c969cf51354acdebf5cc63bf533a0edb977a (diff) | |
download | workshop_booking-6620c14b338c989a610cae10bb9962f3fe550cbf.tar.gz workshop_booking-6620c14b338c989a610cae10bb9962f3fe550cbf.tar.bz2 workshop_booking-6620c14b338c989a610cae10bb9962f3fe550cbf.zip |
URL problems fixed
-rw-r--r-- | workshop_app/urls.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/workshop_app/urls.py b/workshop_app/urls.py index 5888115..0e90ee3 100644 --- a/workshop_app/urls.py +++ b/workshop_app/urls.py @@ -31,8 +31,8 @@ urlpatterns = [ url(r'^change_workshop_date/(?P<workshop_id>\d+)$', views.change_workshop_date, name='change_workshop_date'), url(r'^propose_workshop/$', views.propose_workshop), url(r'^add_workshop_type$', views.add_workshop_type, name='add_workshop_type'), - url(r'^delete_attachment_file/([1-9][0-9]*)$', views.delete_attachment_file, name='delete_attachment_file'), + url(r'^delete_attachment_file/(?P<file_id>\d+)$', views.delete_attachment_file, name='delete_attachment_file'), url(r'^workshop_types/$', views.workshop_type_list), - url(r'^workshop_type_details/(?P<workshop_type_id>\d+)$', views.workshop_type_details), - url(r'^view_profile/(?P<workshop_type_id>\d+)$', views.view_comment_profile, name='view_profile'), + url(r'^workshop_type_details/(?P<workshop_type_id>\d+)$', views.workshop_type_details, name='workshop_type_details'), + url(r'^view_profile/(?P<user_id>\d+)$', views.view_comment_profile, name='view_profile'), ] |