ungleich-user/dal/urls.py

20 lines
946 B
Python
Raw Normal View History

# The different URLs this service does use
2018-10-09 17:49:47 +00:00
from django.urls import path
from django.conf.urls import url
from django.contrib import admin
# Import the classes for the views
2018-10-15 15:52:15 +00:00
from .views import Register, ChangeData, ChangePassword, ResetPassword, DeleteAccount, Index, LogOut, ResetRequest
2018-10-09 17:49:47 +00:00
urlpatterns = [
path('register/', Register.as_view(), name="register"),
path('changedata/', ChangeData.as_view(), name="change_data"),
path('resetpassword/', ResetPassword.as_view(), name="reset_password"),
path('changepassword/', ChangePassword.as_view(), name="change_password"),
path('deleteaccount/', DeleteAccount.as_view(), name="account_delete"),
path('index/', Index.as_view(), name="index"),
path('logout/', LogOut.as_view(), name="logout"),
2018-10-15 15:52:15 +00:00
path('reset/<str:user>/<str:token>/', ResetRequest.as_view()),
path('reset/', ResetRequest.as_view(), name="reset"),
path('', Index.as_view(), name="login_index"),
2019-02-19 22:39:47 +00:00
]