2023-10-08 20:04:34 -03:00
|
|
|
"""
|
|
|
|
URL mappings for the user API
|
|
|
|
"""
|
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from user import views
|
|
|
|
|
|
|
|
|
2023-10-09 01:25:27 -03:00
|
|
|
app_name = 'user'
|
2023-10-08 20:04:34 -03:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path('create/', views.CreateUserView.as_view(), name='create'),
|
|
|
|
path('token/', views.CreateTokenView.as_view(), name='token'),
|
|
|
|
path('me/', views.ManageUserView.as_view(), name='me'),
|
|
|
|
]
|