Skip to content

Commit 171806f

Browse files
committed
replace_databases_default_atomic_requests
1 parent 11796f9 commit 171806f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/django/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
DATABASES = {
107107
"default": env.db("DATABASE_URL", default="postgres:///styleguide_example"),
108108
}
109-
DATABASES["default"]["ATOMIC_REQUESTS"] = True
110109

111110
if os.environ.get("GITHUB_WORKFLOW"):
112111
DATABASES = {
@@ -119,6 +118,7 @@
119118
"PORT": "5432",
120119
}
121120
}
121+
DATABASES["default"]["ATOMIC_REQUESTS"] = True
122122

123123

124124
# Password validation

0 commit comments

Comments
 (0)