Ivy-Backend/ivy/accounts/urls.py

14 lines
367 B
Python
Raw Normal View History

2023-02-28 22:16:45 +08:00
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)
2023-02-28 22:16:45 +08:00
urlpatterns = [
path('', include('djoser.urls')),
path('', include('djoser.urls.authtoken')),
path('', include(router.urls)),
2023-02-28 22:16:45 +08:00
]