Guest User

Untitled

a guest
Jan 24th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. from settings import rel, MIDDLEWARE_CLASSES, INSTALLED_APPS, TEMPLATE_DIRS, TEMPLATE_LOADERS
  2.  
  3. DEBUG = True
  4. INSTALLED_APPS += (
  5. 'debug_toolbar',
  6. )
  7. MIDDLEWARE_CLASSES += (
  8. 'middleware.SupeuserDebugToolbarMiddleware',
  9. )
  10. DEBUG_TOOLBAR_CONFIG = {
  11. 'INTERCEPT_REDIRECTS': False
  12. }
  13. DEBUG_TOOLBAR_PANELS = (
  14. 'debug_toolbar.panels.timer.TimerDebugPanel',
  15. 'debug_toolbar.panels.cache.CacheDebugPanel',
  16. 'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
  17. 'debug_toolbar.panels.headers.HeaderDebugPanel',
  18. 'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
  19. 'debug_toolbar.panels.template.TemplateDebugPanel',
  20. 'debug_toolbar.panels.sql.SQLDebugPanel',
  21. 'debug_toolbar.panels.signals.SignalDebugPanel',
  22. 'debug_toolbar.panels.logger.LoggingPanel',
  23. )
  24.  
  25.  
  26. EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend'
  27. EMAIL_FILE_PATH = '/tmp/unisubs-messages' # change this to a proper location
  28. BROKER_BACKEND = 'redis'
  29. BROKER_HOST = "localhost"
  30. BROKER_VHOST = "/"
  31.  
  32. INTERNAL_IPS = ('127.0.0.1',)
Add Comment
Please, Sign In to add comment