diff options
author | komalsheth286 | 2016-09-08 10:44:04 +0530 |
---|---|---|
committer | komalsheth286 | 2016-09-08 10:44:04 +0530 |
commit | 95bb4b3c871732f354132fc1571a00b0acbf68ac (patch) | |
tree | 3c21f0883cbecaffc1eee011bfdb352423b7af6d /scipy2016/urls.py | |
download | SciPy2016-95bb4b3c871732f354132fc1571a00b0acbf68ac.tar.gz SciPy2016-95bb4b3c871732f354132fc1571a00b0acbf68ac.tar.bz2 SciPy2016-95bb4b3c871732f354132fc1571a00b0acbf68ac.zip |
First Commit
Diffstat (limited to 'scipy2016/urls.py')
-rw-r--r-- | scipy2016/urls.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/scipy2016/urls.py b/scipy2016/urls.py new file mode 100644 index 0000000..e1259cf --- /dev/null +++ b/scipy2016/urls.py @@ -0,0 +1,28 @@ +from django.conf.urls import patterns, include, url + +from django.contrib import admin +from django.contrib.auth.views import password_reset, password_reset_confirm,\ + password_reset_done, password_reset_complete, password_change,\ + password_change_done +admin.autodiscover() + +urlpatterns = patterns('', + + url(r'^admin/', include(admin.site.urls)), + url(r'^', include('website.urls', namespace='website')), + url(r'^2016/', include('website.urls', namespace='website')), + url(r'^', include('social.apps.django_app.urls', namespace='social')), + url(r'^', include('django.contrib.auth.urls', namespace='auth')), + + url(r'^forgotpassword/$', password_reset, {'template_name': 'registration/password_reset_form.html'}, name="password_reset"), + url(r'^password_reset/(?P<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$', + password_reset_confirm, {'template_name': 'registration/password_reset_confirm.html'}, name='password_reset_confirm'), + url(r'^password_reset/mail_sent/$', password_reset_done, {'template_name': 'registration/password_reset_done.html'}, + name='password_reset_done'), + url(r'^password_reset/complete/$', password_reset_complete, {'template_name': 'registration/password_reset_complete.html'}, + name='password_reset_complete'), + url(r'^changepassword/$', password_change, {'template_name': 'registration/password_change_form.html'}, + name='password_change'), + url(r'^password_change/done/$', password_change_done, {'template_name': 'registration/password_change_done.html'}, + name='password_change_done'), +) |