Skip to content

Commit

Permalink
Merge pull request #49 from unicef/fixes
Browse files Browse the repository at this point in the history
fragments tweaks
  • Loading branch information
domdinicola authored Oct 17, 2024
2 parents 5f66b80 + 7615050 commit c71f54f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/aurora/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def parse_emails(value):
"MAILJET_API_KEY": (str, ""),
"MAILJET_SECRET_KEY": (str, ""),
"MATOMO_ID": (str, ""),
"MATOMO_SITE": (str, ""),
"MATOMO_SITE": (str, "https://unisitetracker.unicef.io/"),
"MEDIA_ROOT": (str, "/tmp/media/"),
"MIGRATION_LOCK_KEY": (str, "django-migrations"),
"PRODUCTION_SERVER": (str, ""),
Expand Down
6 changes: 3 additions & 3 deletions src/aurora/config/fragments/admin_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ADMIN_SYNC_CONFIG = env("ADMIN_SYNC_CONFIG")
ADMIN_SYNC_RESPONSE_HEADER = None
# these are actually used only in local development
ADMIN_SYNC_REMOTE_SERVER = env("ADMIN_SYNC_REMOTE_SERVER", default="")
ADMIN_SYNC_REMOTE_ADMIN_URL = env("ADMIN_SYNC_REMOTE_ADMIN_URL", default="")
ADMIN_SYNC_LOCAL_ADMIN_URL = env("ADMIN_SYNC_LOCAL_ADMIN_URL", default="")
ADMIN_SYNC_REMOTE_SERVER = env("ADMIN_SYNC_REMOTE_SERVER")
ADMIN_SYNC_REMOTE_ADMIN_URL = env("ADMIN_SYNC_REMOTE_ADMIN_URL")
ADMIN_SYNC_LOCAL_ADMIN_URL = env("ADMIN_SYNC_LOCAL_ADMIN_URL")
# ADMIN_SYNC_USE_REVERSION=
4 changes: 2 additions & 2 deletions src/aurora/config/fragments/matomo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .. import env

MATOMO_SITE = env("MATOMO_SITE", default="https://unisitetracker.unicef.io/")
MATOMO_ID = env("MATOMO_ID", default="N/A")
MATOMO_SITE = env("MATOMO_SITE")
MATOMO_ID = env("MATOMO_ID")
2 changes: 1 addition & 1 deletion src/aurora/config/fragments/sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
)
sentry_sdk.init(
dsn=SENTRY_DSN,
environment=env("SENTRY_ENVIRONMENT", default=None),
environment=env("SENTRY_ENVIRONMENT"),
integrations=[
DjangoIntegration(transaction_style="url"),
sentry_logging,
Expand Down

0 comments on commit c71f54f

Please sign in to comment.