recipes_api/app/user/urls.py

16 lines
325 B
Python
Raw Normal View History

"""
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'
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'),
]