From 2a0d2400384de1cb6c50d5a59848664481bd6bfe Mon Sep 17 00:00:00 2001 From: Real-Gecko Date: Wed, 27 May 2020 18:41:34 +0600 Subject: [PATCH] Fix admin urls not included into main urls.py --- webvirtcloud/urls.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webvirtcloud/urls.py b/webvirtcloud/urls.py index 6c21817..05d2608 100644 --- a/webvirtcloud/urls.py +++ b/webvirtcloud/urls.py @@ -2,16 +2,14 @@ from django.urls import include, path from instances.views import index from console.views import console -# from django.contrib import admin urlpatterns = [ path('', index, name='index'), - + path('admin/', include(('admin.urls', 'admin'), namespace='admin')), path('instances/', include('instances.urls')), path('accounts/', include('accounts.urls')), path('computes/', include('computes.urls')), path('logs/', include('logs.urls')), path('datasource/', include('datasource.urls')), path('console/', console, name='console'), - # url(r'^admin/', include(admin.site.urls)), ]