diff --git a/metricsmentor/settings_shared.py b/metricsmentor/settings_shared.py index 013da16..6daec91 100755 --- a/metricsmentor/settings_shared.py +++ b/metricsmentor/settings_shared.py @@ -78,6 +78,7 @@ if 'integrationserver' in sys.argv: + ENVIRONMENT = 'testing' SESSION_COOKIE_SECURE = False CSRF_COOKIE_SECURE = False PASSWORD_HASHERS = ( diff --git a/metricsmentor/templates/base.html b/metricsmentor/templates/base.html index 3506853..d6c1cc6 100644 --- a/metricsmentor/templates/base.html +++ b/metricsmentor/templates/base.html @@ -34,6 +34,8 @@ + {% include "ctlsettings/sentry_js.html" %} + - {% if SENTRY_PUBLIC_DSN %} - - - - {% endif %} - {% block js %}{% endblock %} {% if STAGING_ENV %} diff --git a/requirements.txt b/requirements.txt index fc09960..3d4d95c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -79,7 +79,7 @@ django-flatblocks==1.0.0 djangorestframework==3.15.0 django-storages==1.14 -ctlsettings==0.3.4 +ctlsettings==0.4.1 django-reversion==5.1.0 text_unidecode==1.3