summaryrefslogtreecommitdiff
path: root/fossee_manim/urls_password_reset.py
blob: e60a8d608c03128fdd61a915c805b28c335d1eac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from django.conf.urls import url
from django.contrib.auth.views import password_reset, password_reset_confirm,\
        password_reset_done, password_reset_complete, password_change,\
        password_change_done
from django.contrib.auth import views as auth_views


urlpatterns = [
    url(r'^forgotpassword/$',auth_views.PasswordResetView.as_view(
             template_name='registration/password_reset_form.html'
         )),
    url(r'^password_reset/(?P<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$',
        password_reset_confirm,
        name='password_reset_confirm'),
    url(r'^password_reset/mail_sent/$', password_reset_done,
        name='password_reset_done'),
    url(r'^password_reset/complete/$', password_reset_complete,
        name='password_reset_complete'),
    url(r'^changepassword/$', password_change,
        name='password_change'),
    url(r'^password_change/done/$', password_change_done,
        name='password_change_done'),
]