summaryrefslogtreecommitdiff
path: root/nccps2018
diff options
context:
space:
mode:
authorSashi202018-09-17 16:44:19 +0530
committerGitHub2018-09-17 16:44:19 +0530
commit729145dc29514f25be34168049e5bfd1838379f1 (patch)
treef6a6f8af9c7cf42ce3785ec431d6b594f8363177 /nccps2018
parenta16f9b67113e50f65c4a2933c7307a49e6ebe9c7 (diff)
parentcb6b8b3112363c8717575ee09f4447404ab99c59 (diff)
downloadnccps-2018-729145dc29514f25be34168049e5bfd1838379f1.tar.gz
nccps-2018-729145dc29514f25be34168049e5bfd1838379f1.tar.bz2
nccps-2018-729145dc29514f25be34168049e5bfd1838379f1.zip
Merge pull request #6 from Sashi20/development
Added nccps-2018 prefix to the urls
Diffstat (limited to 'nccps2018')
-rw-r--r--nccps2018/urls.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/nccps2018/urls.py b/nccps2018/urls.py
index 0913857..a688f8b 100644
--- a/nccps2018/urls.py
+++ b/nccps2018/urls.py
@@ -19,23 +19,23 @@ from django.contrib.auth import views as auth_views
urlpatterns = [
- re_path(r'^', include('website.urls', namespace='website')),
+ re_path(r'^nccps-2018/', include('website.urls', namespace='website')),
re_path(r'^nccps-2018/accounts/',
include(('django.contrib.auth.urls', 'auth'), namespace='auth')),
path('nccps-2018/admin/', admin.site.urls),
re_path(r'^', include('social.apps.django_app.urls', namespace='social')),
- re_path(r'^nccps-2018/forgotpassword/$', auth_views.PasswordResetView.as_view(
+ re_path(r'^forgotpassword/$', auth_views.PasswordResetView.as_view(
template_name='registration/password_reset_form.html'), name="password_reset"),
- re_path(r'^nccps-2018/password_reset/(?P<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$', auth_views.PasswordResetConfirmView.as_view(
+ re_path(r'^password_reset/(?P<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$', auth_views.PasswordResetConfirmView.as_view(
template_name='registration/password_reset_confirm.html'), name='password_reset_confirm'),
- re_path(r'^nccps-2018/password_reset/mail_sent/$', auth_views.PasswordResetDoneView.as_view(template_name='registration/password_reset_done.html'),
+ re_path(r'^password_reset/mail_sent/$', auth_views.PasswordResetDoneView.as_view(template_name='registration/password_reset_done.html'),
name='password_reset_done'),
- re_path(r'^nccps-2018/password_reset/complete/$', auth_views.PasswordResetCompleteView.as_view(template_name='registration/password_reset_complete.html'),
+ re_path(r'^password_reset/complete/$', auth_views.PasswordResetCompleteView.as_view(template_name='registration/password_reset_complete.html'),
name='password_reset_complete'),
- re_path(r'^nccps-2018/changepassword/$', auth_views.PasswordChangeView.as_view(template_name='registration/password_change_form.html'),
+ re_path(r'^changepassword/$', auth_views.PasswordChangeView.as_view(template_name='registration/password_change_form.html'),
name='password_change'),
- re_path(r'^nccps-2018/password_change/done/$', auth_views.PasswordChangeDoneView.as_view(template_name='registration/password_change_done.html'),
+ re_path(r'^password_change/done/$', auth_views.PasswordChangeDoneView.as_view(template_name='registration/password_change_done.html'),
name='password_change_done'),
] \ No newline at end of file