Generateurv2/backend/api/users/urls.py

9 lines
252 B
Python
Raw Normal View History

2022-06-11 23:39:03 +02:00
from django.urls import include, path
2022-06-24 13:42:16 +02:00
from .views import UsersAPI
2022-06-11 23:39:03 +02:00
urlpatterns = [
path('auth/', include('dj_rest_auth.urls')),
2022-06-24 13:42:16 +02:00
path('auth/api_user/', UsersAPI.as_view()),
2022-06-11 23:39:03 +02:00
path('auth/register/', include('dj_rest_auth.registration.urls'))
]