Ivy-Backend/ivy/accounts/urls.py

13 lines
367 B
Python

from django.contrib import admin
from django.urls import path, include
from rest_framework import routers
from . import views
router = routers.DefaultRouter()
router.register(r'user_list', views.UserListViewSet)
urlpatterns = [
path('', include('djoser.urls')),
path('', include('djoser.urls.authtoken')),
path('', include(router.urls)),
]