really add sentry/raven support
This commit is contained in:
parent
371245abb5
commit
ef1996fd59
|
@ -301,3 +301,8 @@ if DEBUG_TOOLBAR:
|
|||
INSTALLED_APPS += ('debug_toolbar',)
|
||||
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
|
||||
|
||||
# sentry needs more
|
||||
if SENTRY_DSN:
|
||||
RAVEN_CONFIG = {'dsn': SENTRY_DSN}
|
||||
INSTALLED_APPS += ('raven.contrib.django.raven_compat',)
|
||||
|
||||
|
|
Reference in New Issue