From 171806f37813da0e18fe6cd497429aab135fb81f Mon Sep 17 00:00:00 2001 From: Dimitar Todorov Date: Mon, 15 May 2023 16:11:57 +0300 Subject: [PATCH] replace_databases_default_atomic_requests --- config/django/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/django/base.py b/config/django/base.py index 985817b6..aefebbba 100644 --- a/config/django/base.py +++ b/config/django/base.py @@ -106,7 +106,6 @@ DATABASES = { "default": env.db("DATABASE_URL", default="postgres:///styleguide_example"), } -DATABASES["default"]["ATOMIC_REQUESTS"] = True if os.environ.get("GITHUB_WORKFLOW"): DATABASES = { @@ -119,6 +118,7 @@ "PORT": "5432", } } +DATABASES["default"]["ATOMIC_REQUESTS"] = True # Password validation