mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-10 12:16:49 +00:00
lint with black python. convert f style strings to old one. some small fixes
This commit is contained in:
parent
c20c353a40
commit
508e3609be
54 changed files with 2123 additions and 1824 deletions
|
|
@ -1,21 +1,20 @@
|
|||
from django.conf import settings
|
||||
from django.urls import include, path
|
||||
|
||||
from appsettings.views import appsettings
|
||||
from console.views import console
|
||||
from django.conf import settings
|
||||
from django.urls import include, path
|
||||
from instances.views import index
|
||||
|
||||
urlpatterns = [
|
||||
path('', index, name='index'),
|
||||
path('admin/', include(('admin.urls', 'admin'), namespace='admin')),
|
||||
path('accounts/', include('accounts.urls')),
|
||||
path('appsettings/', appsettings, name='appsettings'),
|
||||
path('computes/', include('computes.urls')),
|
||||
path('console/', console, name='console'),
|
||||
path('datasource/', include('datasource.urls')),
|
||||
path('instances/', include('instances.urls')),
|
||||
path('i18n/', include('django.conf.urls.i18n')),
|
||||
path('logs/', include('logs.urls')),
|
||||
path("", index, name="index"),
|
||||
path("admin/", include(("admin.urls", "admin"), namespace="admin")),
|
||||
path("accounts/", include("accounts.urls")),
|
||||
path("appsettings/", appsettings, name="appsettings"),
|
||||
path("computes/", include("computes.urls")),
|
||||
path("console/", console, name="console"),
|
||||
path("datasource/", include("datasource.urls")),
|
||||
path("instances/", include("instances.urls")),
|
||||
path("i18n/", include("django.conf.urls.i18n")),
|
||||
path("logs/", include("logs.urls")),
|
||||
]
|
||||
|
||||
if settings.DEBUG:
|
||||
|
|
@ -23,7 +22,7 @@ if settings.DEBUG:
|
|||
import debug_toolbar
|
||||
|
||||
urlpatterns += [
|
||||
path('__debug__/', include(debug_toolbar.urls)),
|
||||
path("__debug__/", include(debug_toolbar.urls)),
|
||||
]
|
||||
except ImportError:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue