1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-09 03:36:48 +00:00

add dev options to settings + url

This commit is contained in:
catborise 2020-07-17 15:27:57 +03:00
parent 523f58b55e
commit b5b43b71bd
3 changed files with 28 additions and 3 deletions

View file

@ -9,3 +9,20 @@ from webvirtcloud.settings import *
DEBUG = True
TEMPLATE_DEBUG = True
INSTALLED_APPS += [
'debug_toolbar',
]
MIDDLEWARE += [
'debug_toolbar.middleware.DebugToolbarMiddleware',
]
# DebugToolBar
INTERNAL_IPS = (
'127.0.0.1',
)
DEBUG_TOOLBAR_CONFIG = {
'INTERCEPT_REDIRECTS': False,
}