From 4ae151961bd635b2165ef7e9471bdb5d0f10edf6 Mon Sep 17 00:00:00 2001 From: fbanados Date: Fri, 23 Aug 2024 22:08:45 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=F0=9F=A7=B9=20reformat=20Python=20?= =?UTF-8?q?files=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/crkeng/site/settings.py | 2 +- src/morphodict/site/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crkeng/site/settings.py b/src/crkeng/site/settings.py index d5ae77f76..9562baef0 100644 --- a/src/crkeng/site/settings.py +++ b/src/crkeng/site/settings.py @@ -22,7 +22,7 @@ PRODUCTION_HOST = "itwewina.altlab.app" ALLOWED_HOSTS.append(PRODUCTION_HOST) -CSRF_TRUSTED_ORIGINS.append('https://'+PRODUCTION_HOST) +CSRF_TRUSTED_ORIGINS.append("https://" + PRODUCTION_HOST) INSTALLED_APPS.insert(0, "crkeng.app") diff --git a/src/morphodict/site/settings.py b/src/morphodict/site/settings.py index 48259130e..53fba69ef 100644 --- a/src/morphodict/site/settings.py +++ b/src/morphodict/site/settings.py @@ -180,7 +180,7 @@ else: # pragma: no cover ALLOWED_HOSTS = [HOSTNAME, "localhost"] -CSRF_TRUSTED_ORIGINS = ['https://'+HOSTNAME] +CSRF_TRUSTED_ORIGINS = ["https://" + HOSTNAME] # Database # https://docs.djangoproject.com/en/3.2/ref/settings/#databases