Skip to content

Commit

Permalink
Add new sentry-js code
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolas committed Oct 12, 2024
1 parent 92587be commit a800bae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions lanretam/settings_shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
'django.template.context_processors.request',
'django.contrib.messages.context_processors.messages',
'stagingcontext.staging_processor',
'ctlsettings.context_processors.env',
'gacontext.ga_processor',
],
},
Expand Down
2 changes: 2 additions & 0 deletions lanretam/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
<meta name="twitter:image" content="{{STATIC_URL}}img/lanretam-og.png" />
<meta name="twitter:image:alt" content="Logo of the Lanretam project" />

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

<script src="{{STATIC_URL}}js/lib/jquery-3.2.1.min.js"></script>

</head>
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ django-storages==1.14.3

djangorestframework>=3.11.0,<4.0

ctlsettings==0.3.4
ctlsettings==0.4.1

django-reversion==5.1.0
text_unidecode==1.3
Expand Down

0 comments on commit a800bae

Please sign in to comment.