Add connection age to database settings

This commit is contained in:
Ramon Wenger 2020-11-18 21:45:47 +01:00
parent 532f788cc9
commit ece9178513
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ WSGI_APPLICATION = 'core.wsgi.application'
# Database # Database
DATABASES = { DATABASES = {
'default': dj_database_url.config() 'default': dj_database_url.config(conn_max_age=600)
} }
# Django custom user # Django custom user