From a3f37259d219fe0a37d99ae0559c4126dacf7c2a Mon Sep 17 00:00:00 2001 From: Ngure Nyaga Date: Wed, 14 Jul 2021 10:36:02 +0300 Subject: [PATCH] fix: correct mailgun API URL for email sending --- cloudbuild.yaml | 2 +- config/settings/production.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index cc099175..de1a6818 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -30,7 +30,7 @@ steps: '--max-instances', '4', '--memory', '256M', '--cpu', '1', - '-update-secrets', '/app/.env=mle_django_settings:latest' + '--update-secrets', '/app/.env=mle_django_settings:latest' ] images: diff --git a/config/settings/production.py b/config/settings/production.py index fcd77037..ec3c919b 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -99,7 +99,7 @@ # ADMIN # ------------------------------------------------------------------------------ # Django Admin URL regex. -ADMIN_URL = env("DJANGO_ADMIN_URL") +ADMIN_URL = env("DJANGO_ADMIN_URL", default="admin/") # Anymail # ------------------------------------------------------------------------------