diff --git a/opentech/settings/dev.py b/opentech/settings/dev.py index 280e44591cf6e014757cceac0dba79926a97b792..e6d22d416af7618c58c592ed2c6c96d8e8ca40a3 100644 --- a/opentech/settings/dev.py +++ b/opentech/settings/dev.py @@ -126,6 +126,7 @@ if DEBUG: DEBUG_TOOLBAR_CONFIG = { "DISABLE_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', @@ -141,7 +142,6 @@ DEBUG_TOOLBAR_CONFIG = { "SHOW_COLLAPSED": True, } - WEBPACK_LOADER['DEFAULT'].update({ 'STATS_FILE': os.path.join(BASE_DIR, './opentech/static_compiled/app/webpack-stats.json'), }) diff --git a/opentech/settings/local.py.example b/opentech/settings/local.py.example index 571bc3a535e6f03f4c622d7118dd7f5c12b17afb..9ff551708a78bae30ad0680f3ad06ee4dfd921f0 100644 --- a/opentech/settings/local.py.example +++ b/opentech/settings/local.py.example @@ -7,22 +7,25 @@ CACHES = { } } +# ALLOWED_HOSTS = ['apply.otf.test', 'otf.test', 'apply.hypha.test', 'hypha.test', '127.0.0.1'] + +# BASE_URL = 'http://otf.test' + +# Turn off DEBUG mode. +# DEBUG = False + # Write log to local file. # LOCAL_FILE_LOGGING = True # Write e-mails to local files. # LOCAL_FILE_EMAIL = True -# On staging, uncomment the following to enable the styleguide +# Enable the styleguide. # ENABLE_STYLEGUIDE = True -# ALLOWED_HOSTS = ['apply.otf.test', 'otf.test', '127.0.0.1'] - -# BASE_URL = 'http://otf.test' - # SECRET_KEY = 'CHANGEME!!!' -# Enable Wagtail Cache while developing +# Enable Wagtail Cache. # WAGTAIL_CACHE = True # If you have a problem with "CSRF cookie not set".