2020-12-28 20:28:52 +01:00
|
|
|
from django.urls import path
|
|
|
|
from .views import *
|
|
|
|
|
2020-12-31 15:10:53 +01:00
|
|
|
app_name = "users"
|
2020-12-28 20:28:52 +01:00
|
|
|
urlpatterns = [
|
2020-12-31 15:39:01 +01:00
|
|
|
path('register/', UserRegisterView.as_view(), name='register'),
|
|
|
|
path('login/', UserLoginView.as_view(), name='login'),
|
|
|
|
path('logout/', UserLogoutView.as_view(), name='logout'),
|
2021-01-11 20:40:44 +01:00
|
|
|
path('update/<int:pk>/', UserUpdateView.as_view(), name='update'),
|
2020-12-28 20:28:52 +01:00
|
|
|
]
|