12 lines
215 B
Python
12 lines
215 B
Python
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),
|
|
]
|