Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions djangogirls/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import dj_database_url
import sentry_sdk
from sentry_sdk.integrations.django import DjangoIntegration

from .utils.sanitize import sanitize

Expand Down Expand Up @@ -182,8 +181,12 @@ def gettext(s):
)

SENTRY_DSN = os.environ.get("SENTRY_DSN")

if SENTRY_DSN:
sentry_sdk.init(dsn=SENTRY_DSN, integrations=[DjangoIntegration()])
sentry_sdk.init(
dsn="https://[email protected]/5899294",
traces_sample_rate=1.0,
)

MAILCHIMP_API_KEY = os.environ.get("MAILCHIMP_APIKEY")

Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ google-api-python-client==2.37.0
icalendar==4.0.3
oauth2client==4.1.3
py-trello==0.13.0
sentry-sdk
sentry-sdk==2.24.1
slack_sdk==3.19.5
stripe
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --output-file=requirements.txt --resolver=backtracking requirements.in
# pip-compile
#
asgiref==3.6.0
# via
Expand Down Expand Up @@ -78,7 +78,7 @@ django-debug-toolbar==3.8.1
# via -r requirements.in
django-extensions==3.2.1
# via -r requirements.in
django-formtools==2.3
django-formtools==2.3.0
# via -r requirements.in
django-gulp-rev==0.2
# via -r requirements.in
Expand Down Expand Up @@ -273,7 +273,7 @@ s3transfer==0.6.0
# via boto3
sendgrid==6.9.7
# via django-sendgrid-v5
sentry-sdk==2.8.0
sentry-sdk==2.24.1
# via -r requirements.in
six==1.16.0
# via
Expand Down