Skip to content

Commit

Permalink
Update ctlsettings and use new sentry_js setup
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolas committed Oct 11, 2024
1 parent 932400b commit e441234
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion blackrock/settings_shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
'blackrock.mammals',
'bootstrapform',
'django_extensions',
'django.contrib.humanize'
'django.contrib.humanize',
'ctlsettings',
]

# Pageblocks/Pagetree settings
Expand Down Expand Up @@ -151,6 +152,7 @@
'django.template.context_processors.request',
'django.contrib.messages.context_processors.messages',
'stagingcontext.staging_processor',
'ctlsettings.context_processors.env',
'gacontext.ga_processor',
'django.template.context_processors.csrf',
'blackrock.blackrock_main.views.django_settings'
Expand Down
3 changes: 3 additions & 0 deletions blackrock/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
@import "{% static 'css/style.css' %}";
@import "{% static 'css/shield.css' %}";
</style>

{% include "ctlsettings/sentry_js.html" %}

<script>var STATIC_URL = "{{STATIC_URL}}";</script>

{% block css %}{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ django-ga-context==0.1.0
django-smtp-ssl==1.0
django-extensions==3.2.0

ctlsettings==0.3.4
ctlsettings==0.4.0

pbr==6.1.0
pyyaml==6.0.1
Expand Down

0 comments on commit e441234

Please sign in to comment.