mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2025-12-17 18:54:43 -06:00
fix: try to fix "the connection is closed" db errors
This commit is contained in:
@@ -151,6 +151,9 @@ DATABASES = {
|
|||||||
"PASSWORD": os.getenv("SQL_PASSWORD", "password"),
|
"PASSWORD": os.getenv("SQL_PASSWORD", "password"),
|
||||||
"HOST": os.getenv("SQL_HOST", "localhost"),
|
"HOST": os.getenv("SQL_HOST", "localhost"),
|
||||||
"PORT": os.getenv("SQL_PORT", "5432"),
|
"PORT": os.getenv("SQL_PORT", "5432"),
|
||||||
|
"OPTIONS": {
|
||||||
|
"pool": True,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
Django~=5.2.9
|
Django~=5.2.9
|
||||||
psycopg[binary]==3.2.9
|
psycopg[binary,pool]==3.2.9
|
||||||
django-vite==3.1.0
|
django-vite==3.1.0
|
||||||
django-crispy-forms==2.5
|
django-crispy-forms==2.5
|
||||||
crispy-bootstrap5==2025.6
|
crispy-bootstrap5==2025.6
|
||||||
|
|||||||
Reference in New Issue
Block a user