2018-10-16 18:25:50 +00:00
|
|
|
# The different URLs this service does use
|
2019-02-23 11:39:53 +00:00
|
|
|
#from django.conf.urls import url
|
2018-10-09 17:49:47 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
from django.contrib import admin
|
|
|
|
|
2018-10-16 18:25:50 +00:00
|
|
|
# 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 = [
|
2019-02-23 11:39:53 +00:00
|
|
|
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"),
|
2019-02-19 22:39:47 +00:00
|
|
|
]
|