Skip to content

Commit 5ed9e31

Browse files
Fix database_url type issue for Azure deploy
1 parent 6f68215 commit 5ed9e31

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
34 Bytes
Binary file not shown.

project_cleo/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
# }
100100

101101
DATABASES = {
102-
"default": dj_database_url.parse(os.environ.get("DATABASE_URL"))
102+
"default": dj_database_url.parse(os.environ.get("DATABASE_URL", ""), conn_max_age=600)
103103
}
104104

105105
CSRF_TRUSTED_ORIGINS = [

0 commit comments

Comments
 (0)