From 2bd2d1d7f95761e2e8ca5a17a15456a50bb2c59b Mon Sep 17 00:00:00 2001 From: Dmitriy Shesterkin Date: Sat, 2 Dec 2017 21:07:10 +0300 Subject: [PATCH] change settings sentry, swith to lets-dev --- src/dokumentor/settings/common.py | 1 - src/dokumentor/settings/local.py | 1 + src/dokumentor/settings/prod.py | 6 ++++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/dokumentor/settings/common.py b/src/dokumentor/settings/common.py index 542666e..72c66de 100644 --- a/src/dokumentor/settings/common.py +++ b/src/dokumentor/settings/common.py @@ -161,7 +161,6 @@ INSTALLED_APPS = [ 'easy_thumbnails', 'treebeard', 'djangocms_text_ckeditor', - 'raven.contrib.django.raven_compat', 'robokassa', ] diff --git a/src/dokumentor/settings/local.py b/src/dokumentor/settings/local.py index 06ae4d2..6b5f16c 100644 --- a/src/dokumentor/settings/local.py +++ b/src/dokumentor/settings/local.py @@ -9,6 +9,7 @@ from src.dokumentor.settings.common import * # noqa def custom_show_toolbar(self): return True + DEBUG = True TEMPLATES[0]['OPTIONS']['debug'] = DEBUG diff --git a/src/dokumentor/settings/prod.py b/src/dokumentor/settings/prod.py index 5ac5187..ced1e41 100644 --- a/src/dokumentor/settings/prod.py +++ b/src/dokumentor/settings/prod.py @@ -16,6 +16,8 @@ MANAGERS = ADMINS ALLOWED_HOSTS = ['dokumentor.ru', '*'] +INSTALLED_APPS += ['raven.contrib.django.raven_compat', ] + DATABASES = { 'default': dj_database_url.parse(e.get('DJANGO_DB')), } @@ -48,8 +50,8 @@ ROBOKASSA_STRICT_CHECK = True ROBOKASSA_TEST_MODE = False RAVEN_CONFIG = { - 'dsn': 'http://02d524ef0d044bdfae0b39546b752cb2:' - '1e025305594d4532ae93125372dcde50@sentry.mitri4.pro/1', + 'dsn': 'https://f1254abcf14049b3bbecf68122921d98:' + '0b6446c112fa40e19ba57ed1a320d160@sentry.lets-dev.ru/3', # If you are using git, you can also automatically configure the # release based on the git info. 'release': raven.fetch_git_sha(ROOT_DIR),