mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 07:35:22 +00:00
Fix admin urls not included into main urls.py
This commit is contained in:
parent
27f62dff6c
commit
2a0d240038
1 changed files with 1 additions and 3 deletions
|
@ -2,16 +2,14 @@ from django.urls import include, path
|
||||||
|
|
||||||
from instances.views import index
|
from instances.views import index
|
||||||
from console.views import console
|
from console.views import console
|
||||||
# from django.contrib import admin
|
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('', index, name='index'),
|
path('', index, name='index'),
|
||||||
|
path('admin/', include(('admin.urls', 'admin'), namespace='admin')),
|
||||||
path('instances/', include('instances.urls')),
|
path('instances/', include('instances.urls')),
|
||||||
path('accounts/', include('accounts.urls')),
|
path('accounts/', include('accounts.urls')),
|
||||||
path('computes/', include('computes.urls')),
|
path('computes/', include('computes.urls')),
|
||||||
path('logs/', include('logs.urls')),
|
path('logs/', include('logs.urls')),
|
||||||
path('datasource/', include('datasource.urls')),
|
path('datasource/', include('datasource.urls')),
|
||||||
path('console/', console, name='console'),
|
path('console/', console, name='console'),
|
||||||
# url(r'^admin/', include(admin.site.urls)),
|
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue