From 198431be862cea5fe369fc07bca3e435ce2f7d79 Mon Sep 17 00:00:00 2001 From: pnshiralkar Date: Thu, 7 May 2020 13:58:16 +0530 Subject: Add workshop types done without attachment files --- workshop_app/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'workshop_app/urls.py') diff --git a/workshop_app/urls.py b/workshop_app/urls.py index 4bb140c..76a0be6 100644 --- a/workshop_app/urls.py +++ b/workshop_app/urls.py @@ -32,6 +32,7 @@ urlpatterns = [ url(r'^my_workshops/$', views.my_workshops), url(r'^propose_workshop/$', views.propose_workshop), url(r'^workshop_types/$', views.workshop_type_list), - url(r'^workshop_type_details/([1-9][0-9]*)$', views.workshop_type_details), + url(r'^workshop_type_details/([1-9][0-9]*)$', views.workshop_type_details, name='workshop_type_details'), + url(r'^add_workshop_type$', views.add_workshop_type, name='add_workshop_type'), url(r'^view_profile/([1-9][0-9]*)$', views.view_comment_profile), ] -- cgit From a06daa5d5bbb7225c52292e6b5cfeb624d668bdd Mon Sep 17 00:00:00 2001 From: pnshiralkar Date: Thu, 7 May 2020 19:39:09 +0530 Subject: File upload done --- workshop_app/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'workshop_app/urls.py') diff --git a/workshop_app/urls.py b/workshop_app/urls.py index 76a0be6..37b56d5 100644 --- a/workshop_app/urls.py +++ b/workshop_app/urls.py @@ -31,7 +31,7 @@ urlpatterns = [ url(r'^edit_profile/$', views.edit_profile), url(r'^my_workshops/$', views.my_workshops), url(r'^propose_workshop/$', views.propose_workshop), - url(r'^workshop_types/$', views.workshop_type_list), + url(r'^workshop_types/$', views.workshop_type_list, name='workshop_type_list'), url(r'^workshop_type_details/([1-9][0-9]*)$', views.workshop_type_details, name='workshop_type_details'), url(r'^add_workshop_type$', views.add_workshop_type, name='add_workshop_type'), url(r'^view_profile/([1-9][0-9]*)$', views.view_comment_profile), -- cgit From c72ac71318caf14d559074a4b02f5e14afcff2e0 Mon Sep 17 00:00:00 2001 From: pnshiralkar Date: Thu, 7 May 2020 20:22:40 +0530 Subject: File delete done --- workshop_app/urls.py | 1 + 1 file changed, 1 insertion(+) (limited to 'workshop_app/urls.py') diff --git a/workshop_app/urls.py b/workshop_app/urls.py index 37b56d5..a805e59 100644 --- a/workshop_app/urls.py +++ b/workshop_app/urls.py @@ -34,5 +34,6 @@ urlpatterns = [ url(r'^workshop_types/$', views.workshop_type_list, name='workshop_type_list'), url(r'^workshop_type_details/([1-9][0-9]*)$', views.workshop_type_details, name='workshop_type_details'), 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'^view_profile/([1-9][0-9]*)$', views.view_comment_profile), ] -- cgit From 6620c14b338c989a610cae10bb9962f3fe550cbf Mon Sep 17 00:00:00 2001 From: pnshiralkar Date: Thu, 14 May 2020 16:53:38 +0530 Subject: URL problems fixed --- workshop_app/urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'workshop_app/urls.py') 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\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\d+)$', views.delete_attachment_file, name='delete_attachment_file'), url(r'^workshop_types/$', views.workshop_type_list), - url(r'^workshop_type_details/(?P\d+)$', views.workshop_type_details), - url(r'^view_profile/(?P\d+)$', views.view_comment_profile, name='view_profile'), + url(r'^workshop_type_details/(?P\d+)$', views.workshop_type_details, name='workshop_type_details'), + url(r'^view_profile/(?P\d+)$', views.view_comment_profile, name='view_profile'), ] -- cgit