Skip to content

Commit

Permalink
[fix] Added admin URLs to the API container
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed Sep 19, 2024
1 parent 033451d commit 30352f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/openwisp_api/urls.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import os

from django.contrib import admin
from django.urls import include, path
from openwisp.utils import env_bool, openwisp_controller_urls
from openwisp_users.api.urls import get_api_urls as users_api

urlpatterns = openwisp_controller_urls() + [
path('admin/', admin.site.urls),
path('api/v1/', include((users_api(), 'users'))),
path('api/v1/', include('openwisp_utils.api.urls')),
]
Expand Down

0 comments on commit 30352f4

Please sign in to comment.