summaryrefslogtreecommitdiff
path: root/.github/workflows/data/test_postgres.py.tpl
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/data/test_postgres.py.tpl')
-rw-r--r--.github/workflows/data/test_postgres.py.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/data/test_postgres.py.tpl b/.github/workflows/data/test_postgres.py.tpl
index e121946d3f..15dfa0d62e 100644
--- a/.github/workflows/data/test_postgres.py.tpl
+++ b/.github/workflows/data/test_postgres.py.tpl
@@ -1,3 +1,4 @@
+import os
from test_sqlite import * # NOQA
DATABASES = {
@@ -8,6 +9,9 @@ DATABASES = {
"PASSWORD": "postgres",
"HOST": "localhost",
"PORT": 5432,
+ "OPTIONS": {
+ "server_side_binding": os.getenv("SERVER_SIDE_BINDING") == "1",
+ },
},
"other": {
"ENGINE": "django.db.backends.postgresql",