sentry settings

prod
Dmitriy Shesterkin 9 years ago
parent afe7478218
commit 835f1fb8b3
  1. 10
      src/dokumentor/settings/production.py
  2. 9
      src/dokumentor/settings/stage.py

@ -1,6 +1,6 @@
# flake8: noqa
# coding: utf-8
import raven
import dj_database_url
from src.dokumentor.settings.common import *
@ -46,3 +46,11 @@ ROBOKASSA_PASSWORD2 = 'D552KBeAJhhVOfKEqT62'
ROBOKASSA_USE_POST = True
ROBOKASSA_STRICT_CHECK = True
ROBOKASSA_TEST_MODE = False
RAVEN_CONFIG = {
'dsn': 'http://02d524ef0d044bdfae0b39546b752cb2:'
'1e025305594d4532ae93125372dcde50@sentry.mitri4.pro/1',
# If you are using git, you can also automatically configure the
# release based on the git info.
'release': raven.fetch_git_sha(ROOT_DIR),
}

@ -1,6 +1,5 @@
# flake8: noqa
# coding: utf-8
import raven
import dj_database_url
from src.dokumentor.settings.common import *
@ -21,14 +20,6 @@ DATABASES = {
'default': dj_database_url.parse('postgres://dokumentor:dokumentor@db:5432/dokumentor'),
}
RAVEN_CONFIG = {
'dsn': 'http://02d524ef0d044bdfae0b39546b752cb2:'
'1e025305594d4532ae93125372dcde50@sentry.mitri4.pro/1',
# If you are using git, you can also automatically configure the
# release based on the git info.
'release': raven.fetch_git_sha(ROOT_DIR),
}
DEFAULT_FROM_EMAIL = 'Открытые технологии <no-reply@o-tech.io>'
SERVER_EMAIL = DEFAULT_FROM_EMAIL
EMAIL_HOST = 'smtp.yandex.ru'

Loading…
Cancel
Save