From efb2eb6e28466113a21429103f44cba92c864b41 Mon Sep 17 00:00:00 2001 From: Gagan Deep Date: Thu, 19 Sep 2024 19:44:54 +0530 Subject: [PATCH] [fix] Added admin URLs to the API container --- images/openwisp_api/urls.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/images/openwisp_api/urls.py b/images/openwisp_api/urls.py index 3bedaa69..e68954b9 100644 --- a/images/openwisp_api/urls.py +++ b/images/openwisp_api/urls.py @@ -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')), ]