install raven to send exceptions to sentry

This commit is contained in:
Benjamin Dauvergne 2013-11-05 16:06:49 +01:00
parent e79b758a36
commit 16e5083794
2 changed files with 8 additions and 4 deletions

View File

@ -8,15 +8,18 @@ DEBUG = False
TEMPLATE_DEBUG = DEBUG
INTERNAL_IPS = ('127.0.0.1',)
ADMINS = (
('Benjamin Dauvergne', 'bdauvergne@entrouvert.com'),
('Thomas Noël', 'tnoel@entrouvert.com'),
)
ADMINS = ()
MANAGERS = ADMINS
LOGGING = LOGGING_FUNC('/var/log/logement', DEBUG)
MEDIA_ROOT = '/var/lib/logement/media/'
STATIC_ROOT = '/var/lib/logement/static/'
INSTALLED_APPS = INSTALLED_APPS + (
'raven.contrib.django.raven_compat',
)
RAVEN_CONFIG = {
'dsn': 'https://2c17ac65d58e49b180238e76aa880af1:cb8739da55fd40c4b44750661653edae@sentry.entrouvert.org/12',
}
try:
from local_settings_prod import *

View File

@ -16,3 +16,4 @@ git+http://github.com/cypreess/django-fiber-modeltranslation.git
django-daterange-filter==0.1.1
django-journal>=1.21.0,<2.0.0
http://repos.entrouvert.org/python-entrouvert.git/snapshot/python-entrouvert-1.3.tar.gz
raven