Skip to content

Commit 0a045e8

Browse files
DTodorov985RadoRado
authored andcommitted
fix
1 parent 704cd57 commit 0a045e8

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
@@ -109,6 +109,7 @@
109109
DATABASES = {
110110
"default": env.db("DATABASE_URL", default="postgres:///styleguide_example"),
111111
}
112+
DATABASES["default"]["ATOMIC_REQUESTS"] = True
112113

113114
if os.environ.get("GITHUB_WORKFLOW"):
114115
DATABASES = {
@@ -121,7 +122,6 @@
121122
"PORT": "5432",
122123
}
123124
}
124-
DATABASES["default"]["ATOMIC_REQUESTS"] = True
125125

126126
# Password validation
127127
# https://docs.djangoproject.com/en/3.0/ref/settings/#auth-password-validators

0 commit comments

Comments
 (0)