flake8 formating
This commit is contained in:
parent
4f877dd2f2
commit
1492c803a8
5 changed files with 18 additions and 20 deletions
|
|
@ -91,7 +91,7 @@ MIDDLEWARE = [
|
|||
"django.contrib.sites.middleware.CurrentSiteMiddleware",
|
||||
"allauth.account.middleware.AccountMiddleware", # For the django =< 5.0
|
||||
]
|
||||
if DEBUG :
|
||||
if DEBUG:
|
||||
MIDDLEWARE += ["debug_toolbar.middleware.DebugToolbarMiddleware",]
|
||||
|
||||
ROOT_URLCONF = "photo21.urls"
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ from django.contrib import admin
|
|||
from django.urls import include, path, re_path
|
||||
from django.views.i18n import JavaScriptCatalog
|
||||
|
||||
if settings.DEBUG :
|
||||
if settings.DEBUG:
|
||||
from debug_toolbar.toolbar import debug_toolbar_urls
|
||||
|
||||
from .views import IndexView, MediaAccess
|
||||
|
|
@ -24,7 +24,7 @@ urlpatterns = [
|
|||
path("", include("photologue.urls", namespace="photologue")),
|
||||
path("accounts/", include("allauth.urls")),
|
||||
path("i18n/", include("django.conf.urls.i18n")),
|
||||
path('jsi18n/', JavaScriptCatalog.as_view(), name='javascript-catalog'),
|
||||
path("jsi18n/", JavaScriptCatalog.as_view(), name="javascript-catalog"),
|
||||
path("admin/doc/", include("django.contrib.admindocs.urls")),
|
||||
path("admin/", admin.site.urls),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue