from django.contrib import admin from django.urls import path from rest_framework import routers router = routers.DefaultRouter() urlpatterns = router.urls urlpatterns += [ path('admin/', admin.site.urls), ]