From b56542189519cecb15ba6f73a9246821ed593afc Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Mon, 7 Dec 2015 16:52:06 -0800 Subject: [PATCH] Consolidating raven config. --- settings.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/settings.py b/settings.py index 99f96a705..dac9a2e06 100644 --- a/settings.py +++ b/settings.py @@ -586,13 +586,7 @@ if not DEVELOPMENT: 'django_ses', ) - RAVEN_CONFIG = { - 'dsn': SENTRY_DSN, - # If you are using git, you can also automatically configure the - # release based on the git info. - 'release': raven.fetch_git_sha(os.path.dirname(__file__)), - } - RAVEN_CLIENT = raven.Client(RAVEN_CONFIG) + RAVEN_CLIENT = raven.Client(dsn=SENTRY_DSN, release=raven.fetch_git_sha(os.path.dirname(__file__))) COMPRESS = not DEBUG