Commit 03e571cc authored by fred's avatar fred

add hook to enable raven/sentry

parent 459ba739
...@@ -206,6 +206,8 @@ p a { color: black; text-decoration: none; border-bottom: 1px dotted black; } ...@@ -206,6 +206,8 @@ p a { color: black; text-decoration: none; border-bottom: 1px dotted black; }
p a:hover { border-bottom: 1px solid black; } p a:hover { border-bottom: 1px solid black; }
""" """
RAVEN_CONFIG = None
try: try:
from local_settings import * from local_settings import *
except ImportError: except ImportError:
...@@ -218,3 +220,8 @@ if DEBUG and DEBUG_TOOLBAR: ...@@ -218,3 +220,8 @@ if DEBUG and DEBUG_TOOLBAR:
INSTALLED_APPS += ( INSTALLED_APPS += (
'debug_toolbar', 'debug_toolbar',
) )
if RAVEN_CONFIG:
INSTALLED_APPS += (
'raven.contrib.django.raven_compat',
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment