mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-07-25 09:07:31 +02:00
14 lines
272 B
Python
14 lines
272 B
Python
from django.urls import path, include
|
|
|
|
from rest_framework import routers
|
|
|
|
|
|
router = routers.DefaultRouter()
|
|
|
|
|
|
urlpatterns = [
|
|
# required for the login functionality
|
|
path('api/', include(router.urls)),
|
|
path('accounts/', include('django.contrib.auth.urls')),
|
|
]
|