summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Noel <thomas@univnautes-idp.dev>2014-03-17 08:59:51 (GMT)
committerThomas Noel <thomas@univnautes-idp.dev>2014-03-17 08:59:51 (GMT)
commitef1996fd59582eba7e24b54859c3013bdc444330 (patch)
treecce236de656d6392f3ec1cece40f41f83d42d540
parent371245abb5fd6a75763332cf37077a94ae3d68ab (diff)
downloadunivnautes-idp-ef1996fd59582eba7e24b54859c3013bdc444330.zip
univnautes-idp-ef1996fd59582eba7e24b54859c3013bdc444330.tar.gz
univnautes-idp-ef1996fd59582eba7e24b54859c3013bdc444330.tar.bz2
really add sentry/raven support
-rw-r--r--univnautes_idp/settings.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/univnautes_idp/settings.py b/univnautes_idp/settings.py
index 45e946e..1c6232e 100644
--- a/univnautes_idp/settings.py
+++ b/univnautes_idp/settings.py
@@ -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',)
+