Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from settings import rel, MIDDLEWARE_CLASSES, INSTALLED_APPS, TEMPLATE_DIRS, TEMPLATE_LOADERS
- DEBUG = True
- INSTALLED_APPS += (
- 'debug_toolbar',
- )
- MIDDLEWARE_CLASSES += (
- 'middleware.SupeuserDebugToolbarMiddleware',
- )
- DEBUG_TOOLBAR_CONFIG = {
- 'INTERCEPT_REDIRECTS': False
- }
- DEBUG_TOOLBAR_PANELS = (
- 'debug_toolbar.panels.timer.TimerDebugPanel',
- 'debug_toolbar.panels.cache.CacheDebugPanel',
- 'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
- 'debug_toolbar.panels.headers.HeaderDebugPanel',
- 'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
- 'debug_toolbar.panels.template.TemplateDebugPanel',
- 'debug_toolbar.panels.sql.SQLDebugPanel',
- 'debug_toolbar.panels.signals.SignalDebugPanel',
- 'debug_toolbar.panels.logger.LoggingPanel',
- )
- EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend'
- EMAIL_FILE_PATH = '/tmp/unisubs-messages' # change this to a proper location
- BROKER_BACKEND = 'redis'
- BROKER_HOST = "localhost"
- BROKER_VHOST = "/"
- INTERNAL_IPS = ('127.0.0.1',)
Add Comment
Please, Sign In to add comment