From c5c3c3bdcb3b88569cf0acb3355eba7709006acd Mon Sep 17 00:00:00 2001 From: Nikolas Nyby Date: Fri, 11 Oct 2024 21:59:52 -0400 Subject: [PATCH] Update to new sentry-js code --- eureka/settings_shared.py | 1 + eureka/templates/base.html | 2 ++ requirements.txt | 3 +-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/eureka/settings_shared.py b/eureka/settings_shared.py index c030d5d3..1bccfb20 100644 --- a/eureka/settings_shared.py +++ b/eureka/settings_shared.py @@ -63,6 +63,7 @@ 'django.template.context_processors.request', 'django.contrib.messages.context_processors.messages', 'stagingcontext.staging_processor', + 'ctlsettings.context_processors.env', 'gacontext.ga_processor', 'wagtail.contrib.settings.context_processors.settings', 'wagtailmenus.context_processors.wagtailmenus', diff --git a/eureka/templates/base.html b/eureka/templates/base.html index 36182848..c2b157f2 100644 --- a/eureka/templates/base.html +++ b/eureka/templates/base.html @@ -17,6 +17,8 @@ {% block css %}{% endblock %} + {% include "ctlsettings/sentry_js.html" %} + diff --git a/requirements.txt b/requirements.txt index a298d8d6..31f5ba53 100644 --- a/requirements.txt +++ b/requirements.txt @@ -60,7 +60,6 @@ django-paging==0.2.5 django-annoying==0.10.6 django-appconf==1.0.5 django-statsd-mozilla==0.4.0 -raven==6.10.0 sentry-sdk==2.16.0 django-bootstrap4==24.4 django-debug-toolbar==4.4.1 @@ -77,7 +76,7 @@ gunicorn==23.0.0 django-flatblocks==1.0.0 django-storages==1.14.2 -ctlsettings==0.3.4 +ctlsettings==0.4.1 django-reversion==5.1.0 text_unidecode==1.3