2015-03-25 20:30:57 +00:00
|
|
|
"""
|
|
|
|
Django dev settings for webvirtcloud project.
|
|
|
|
|
2020-04-17 11:02:18 +00:00
|
|
|
HowTo: python3 manage.py runserver 0:8000 --settings=webvirtcloud.settings-dev
|
2015-04-21 14:25:26 +00:00
|
|
|
|
2015-03-25 20:30:57 +00:00
|
|
|
"""
|
|
|
|
|
2015-04-02 06:37:46 +00:00
|
|
|
from webvirtcloud.settings import *
|
2015-03-25 20:30:57 +00:00
|
|
|
|
|
|
|
DEBUG = True
|
2015-04-02 06:37:46 +00:00
|
|
|
TEMPLATE_DEBUG = True
|
2020-07-17 12:27:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
INSTALLED_APPS += [
|
2020-09-25 12:57:17 +00:00
|
|
|
"debug_toolbar",
|
2020-07-17 12:27:57 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
MIDDLEWARE += [
|
2020-09-25 12:57:17 +00:00
|
|
|
"debug_toolbar.middleware.DebugToolbarMiddleware",
|
2020-07-17 12:27:57 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
# DebugToolBar
|
|
|
|
INTERNAL_IPS = (
|
2020-09-25 12:57:17 +00:00
|
|
|
"127.0.0.1",
|
2020-07-17 12:27:57 +00:00
|
|
|
)
|
|
|
|
DEBUG_TOOLBAR_CONFIG = {
|
2020-09-25 12:57:17 +00:00
|
|
|
"INTERCEPT_REDIRECTS": False,
|
|
|
|
}
|