Skip to content
Snippets Groups Projects

Resolve "Test django-cachalot"

Merged Jonathan Weth requested to merge 310-test-django-cachalot into master
All threads resolved!
3 files
+ 119
103
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 19
0
@@ -45,6 +45,23 @@ DEBUG_TOOLBAR_CONFIG = {
"SHOW_TOOLBAR_CALLBACK": "aleksis.core.util.core_helpers.dt_show_toolbar",
}
DEBUG_TOOLBAR_PANELS = [
"debug_toolbar.panels.versions.VersionsPanel",
"debug_toolbar.panels.timer.TimerPanel",
"debug_toolbar.panels.settings.SettingsPanel",
"debug_toolbar.panels.headers.HeadersPanel",
"debug_toolbar.panels.request.RequestPanel",
"debug_toolbar.panels.sql.SQLPanel",
"debug_toolbar.panels.cache.CachePanel",
"debug_toolbar.panels.staticfiles.StaticFilesPanel",
"debug_toolbar.panels.templates.TemplatesPanel",
"debug_toolbar.panels.signals.SignalsPanel",
"debug_toolbar.panels.logging.LoggingPanel",
"debug_toolbar.panels.redirects.RedirectsPanel",
"debug_toolbar.panels.profiling.ProfilingPanel",
]
ALLOWED_HOSTS = _settings.get("http.allowed_hosts", [])
# Application definition
@@ -185,6 +202,8 @@ if _settings.get("caching.memcached.enabled", False):
"LOCATION": _settings.get("caching.memcached.address", "127.0.0.1:11211"),
}
}
INSTALLED_APPS.append("cachalot")
DEBUG_TOOLBAR_PANELS.append("cachalot.panels.CachalotPanel")
# Password validation
# https://docs.djangoproject.com/en/2.1/ref/settings/#auth-password-validators
Loading