From be187fa44a4c8b609f9eb2e15cc9738c50ae543c Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Mon, 25 Mar 2013 20:43:21 -0400 Subject: [PATCH] Adding raven for Sentry. --- local_settings-template.py | 9 ++++++++- requirements.txt | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/local_settings-template.py b/local_settings-template.py index 8bf6010..1f354ef 100644 --- a/local_settings-template.py +++ b/local_settings-template.py @@ -45,6 +45,9 @@ POSTMARK_API_KEY = '' VIRTUALENV_PATH = '' +AMAZON_API_KEY = '' +AMAZON_API_SECRET = '' + STRIPE_API_KEY = '' ENV_HOST = 'user@domain.com:22' @@ -53,6 +56,7 @@ USE_HTTPS = False SESSION_COOKIE_SECURE = False CSRF_COOKIE_SECURE = False SESSION_COOKIE_DOMAIN = '.snipt.net' +ALLOWED_HOSTS = ['*'] HAYSTACK_CONNECTIONS = { 'default': { @@ -65,6 +69,9 @@ HAYSTACK_CONNECTIONS = { INSTALLED_APPS += ( 'debug_toolbar', 'django_extensions', + 'raven.contrib.django.raven_compat', ) -ALLOWED_HOSTS = ['*'] +RAVEN_CONFIG = { + 'dsn': '', +} diff --git a/requirements.txt b/requirements.txt index 7f7b559..6f15a13 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,6 +17,7 @@ pyelasticsearch==0.3 python-memcached python-postmark pyyaml +raven requests simplejson South