Generateurv2/backend/api/users/urls.py
2022-06-24 13:42:16 +02:00

9 lines
252 B
Python

from django.urls import include, path
from .views import UsersAPI
urlpatterns = [
path('auth/', include('dj_rest_auth.urls')),
path('auth/api_user/', UsersAPI.as_view()),
path('auth/register/', include('dj_rest_auth.registration.urls'))
]