diff options
author | Prashant S | 2019-08-27 12:32:16 +0530 |
---|---|---|
committer | GitHub | 2019-08-27 12:32:16 +0530 |
commit | 46c8dee1d41462c4a00989b91d555faf6e422632 (patch) | |
tree | a9089f56541854b48ddbda733832a153c6d53927 /website/urls.py | |
parent | 23507115caa3d4de0dbf4909376e35df4352d3d9 (diff) | |
parent | b9c709823e26f5b20d3732e1788b871cdd961a03 (diff) | |
download | SciPy2019-46c8dee1d41462c4a00989b91d555faf6e422632.tar.gz SciPy2019-46c8dee1d41462c4a00989b91d555faf6e422632.tar.bz2 SciPy2019-46c8dee1d41462c4a00989b91d555faf6e422632.zip |
Merge pull request #1 from prashantsinalkar/master
updated project code
Diffstat (limited to 'website/urls.py')
-rw-r--r-- | website/urls.py | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/website/urls.py b/website/urls.py new file mode 100644 index 0000000..e6772d0 --- /dev/null +++ b/website/urls.py @@ -0,0 +1,45 @@ +from django.urls import path, include, re_path +from django.conf.urls.static import static +from django.conf import settings +from . import views + +app_name = 'website' +urlpatterns = [ + #path('', views.index, name='index'), + re_path(r'^$', views.index, name='index'), + re_path(r'^view_profile/$', views.view_profile, name='view_profile'), + #re_path(r'^proposal/$', views.proposal, name='proposal'), + #path('login', views.login, name='login'), + #path('accounts/', include('django.contrib.auth.urls')), + #re_path(r'^', include('django.contrib.auth.urls')), + #path('proposal/view', views.view_abstracts, name='view_abstracts'), + #path('proposal/submitcfp', views.submitcfp, name='submitcfp'), + #path('accounts/register', views.userregister, name='userregister'), + + + re_path(r'^cfp/$', views.cfp, name='cfp'), + re_path(r'^submit-cfp/$', views.submitcfp, name='submitcfp'), + re_path(r'^submit-cfw/$', views.submitcfw, name='submitcfw'), + #url(r'^submit-cfp/$', 'website.views.cfp', name='home'), + #url(r'^submit-cfw/$', 'website.views.home', name='home'), + re_path(r'^accounts/register/$', views.user_register, name='user_register'), + re_path(r'^accounts/login/$', views.cfp, name='cfp'), + re_path(r'^gallery/$', views.gallery, name='gallery'), + # url(r'^view-abstracts/$', 'website.views.view_abstracts', name='view_abstracts'), + re_path(r'^view-abstracts/$', views.view_abstracts, name='view_abstracts'), + re_path(r'^abstract-details/(?P<proposal_id>\d+)$', + views.abstract_details, name='abstract_details'), + re_path(r'^edit-proposal/(?P<proposal_id>\d+)$', + views.edit_proposal, name='edit_proposal'), + re_path(r'^view-abstracts/status_change/$', + views.status_change, name='status_change'), + re_path(r'^comment-abstract/(?P<proposal_id>\d+)$', + views.comment_abstract, name='comment_abstract'), + re_path(r'^comment-abstract/status/(?P<proposal_id>\d+)$', + views.status, name='status'), + re_path(r'^comment-abstract/rate/(?P<proposal_id>\d+)$', + views.rate_proposal, name='rate_proposal'), + re_path(r'^process-contact-form/(?P<next_url>\d+)', + views.contact_us, name='contact_us'), +] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) + |