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 21:01:47 +01:00
|
|
|
path('update-profile/<int:pk>/', UserUpdateView.as_view(), name='update_profile'),
|
2020-12-28 20:28:52 +01:00
|
|
|
]
|