Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Do not replace config['DATABASES']['default'], do deep update or simple update or dict(config['DATABASES']['default'], **dj_database_url.config(conn_max_age=MAX_CONN_AGE, ssl_require=True)) instead #41

Open
dmugtasimov opened this issue Mar 4, 2019 · 0 comments

Comments

@dmugtasimov
Copy link

dmugtasimov commented Mar 4, 2019

Do not replace config['DATABASES']['default'], do deep update or simple update or dict(config['DATABASES']['default'], **dj_database_url.config(conn_max_age=MAX_CONN_AGE, ssl_require=True)) instead.

The way it is implemented now sweeps out my ATOMIC_REQUESTS and other settings. Fixing this would also solve: #11

@dmugtasimov dmugtasimov changed the title Do not replace config['DATABASES']['default'], do deep update or simple update or dict(config['DATABASES']['default'], **dj_database_url.config(conn_max_age=MAX_CONN_AGE, ssl_require=True)) instead Do not replace config['DATABASES']['default'], do deep update or simple update or dict(config['DATABASES']['default'], **dj_database_url.config(conn_max_age=MAX_CONN_AGE, ssl_require=True)) instead Mar 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant