Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6c9fd12

Browse files
committedMay 15, 2023
replace_databases_default_atomic_requests
1 parent 2ba900e commit 6c9fd12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎config/django/base.py

+1-1
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)
Please sign in to comment.