Skip to content
Snippets Groups Projects
Commit 056eb567 authored by Ben Adida's avatar Ben Adida
Browse files

type mismatch in new django version, max age needs to be an int

parent d9f39f2d
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ if get_from_env('DATABASE_URL', None):
import dj_database_url
DATABASES['default'] = dj_database_url.config()
DATABASES['default']['ENGINE'] = 'django.db.backends.postgresql_psycopg2'
DATABASES['default']['CONN_MAX_AGE'] = '600'
DATABASES['default']['CONN_MAX_AGE'] = 600
# require SSL
DATABASES['default']['OPTIONS'] = {'sslmode': 'require'}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment