Initial commit: Django inventory system
This commit is contained in:
15
myproject/accounts/urls.py
Normal file
15
myproject/accounts/urls.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
app_name = 'accounts'
|
||||
|
||||
urlpatterns = [
|
||||
path('register/', views.register_view, name='register'),
|
||||
path('login/', views.login_view, name='login'),
|
||||
path('logout/', views.logout_view, name='logout'),
|
||||
path('profile/', views.profile_view, name='profile'),
|
||||
path('profile/change-password/', views.change_password_view, name='change_password'),
|
||||
path('confirm/<uuid:token>/', views.confirm_email, name='confirm_email'),
|
||||
path('password-reset/', views.password_reset_request, name='password_reset'),
|
||||
path('password-reset/<uuid:token>/', views.password_reset_confirm, name='password_reset_confirm'),
|
||||
]
|
||||
Reference in New Issue
Block a user