add hostadmin app

This commit is contained in:
j3d1 2023-06-15 20:55:33 +02:00
parent 12191369b7
commit 3cd89b7162
13 changed files with 143 additions and 38 deletions

View file

@ -47,6 +47,7 @@ INSTALLED_APPS = [
'corsheaders',
'drf_yasg',
'authentication',
'hostadmin',
]
REST_FRAMEWORK = {

View file

@ -31,5 +31,6 @@ schema_view = get_schema_view(
urlpatterns = [
path('djangoadmin/', admin.site.urls),
path('auth/', include('authentication.api')),
path('admin/', include('hostadmin.api')),
path('docs/', schema_view.with_ui('swagger', cache_timeout=0), name='api-docs'),
]