mirror of
https://github.com/lemeow125/Ivy-Backend.git
synced 2024-11-17 06:39:26 +08:00
13 lines
367 B
Python
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)),
|
|
]
|