ungleich-user/dal/urls.py
2019-02-23 12:39:53 +01:00

20 lines
No EOL
935 B
Python

# The different URLs this service does use
#from django.conf.urls import url
from django.conf.urls import url
from django.contrib import admin
# Import the classes for the views
from .views import Register, ChangeData, ChangePassword, ResetPassword, DeleteAccount, Index, LogOut, ResetRequest
urlpatterns = [
url('register/', Register.as_view(), name="register"),
url('changedata/', ChangeData.as_view(), name="change_data"),
url('resetpassword/', ResetPassword.as_view(), name="reset_password"),
url('changepassword/', ChangePassword.as_view(), name="change_password"),
url('deleteaccount/', DeleteAccount.as_view(), name="account_delete"),
url('index/', Index.as_view(), name="index"),
url('logout/', LogOut.as_view(), name="logout"),
url('reset/<str:user>/<str:token>/', ResetRequest.as_view()),
url('reset/', ResetRequest.as_view(), name="reset"),
url('', Index.as_view(), name="index"),
]