11 lines
364 B
Python
11 lines
364 B
Python
from django.urls import path
|
|
from .views import *
|
|
|
|
app_name = "users"
|
|
urlpatterns = [
|
|
path('register/', UserRegisterView.as_view(), name='register'),
|
|
path('login/', UserLoginView.as_view(), name='login'),
|
|
path('logout/', UserLogoutView.as_view(), name='logout'),
|
|
path('update-profile/<int:pk>/', UserUpdateView.as_view(), name='update_profile'),
|
|
]
|