LIL-226. Add sentry configs

remotes/origin/hasaccess
Ivlev Denis 8 years ago
parent fd855045cf
commit b2c03094a3
  1. 12
      project/settings.py
  2. 1
      requirements.txt
  3. 1
      sentry

@ -11,10 +11,13 @@ https://docs.djangoproject.com/en/2.0/ref/settings/
"""
import os
import raven
from celery.schedules import crontab
from collections import OrderedDict
from datetime import timedelta
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@ -53,6 +56,7 @@ INSTALLED_APPS = [
'constance',
'constance.backends.database',
'sorl.thumbnail',
'raven.contrib.django.raven_compat',
] + [
'apps.auth.apps',
'apps.user',
@ -290,3 +294,11 @@ if DEBUG:
SWAGGER_SETTINGS = {
'DOC_EXPANSION': 'none',
}
# Raven settings
RAVEN_CONFIG = {
'dsn': 'https://bff536c4d71c4166afb91f83b9f73d55:ca47ad791a53480b9d40a85a26abf141@sentry.io/306843',
# If you are using git, you can also automatically configure the
# release based on the git info.
'release': raven.fetch_git_sha(BASE_DIR),
}

@ -18,6 +18,7 @@ gunicorn==19.7.1
mixpanel==4.3.2
psycopg2-binary==2.7.4
Pillow==5.0.0
raven==6.6.0
requests==2.18.4
sorl-thumbnail==12.4.1
twilio==6.10.5

@ -0,0 +1 @@
Subproject commit a514caf906fa22a66eaf6532a721a9393177d2ff
Loading…
Cancel
Save