Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding additional arguments to databases #82

Open
M1ha-Shvn opened this issue Sep 17, 2018 · 1 comment
Open

Adding additional arguments to databases #82

M1ha-Shvn opened this issue Sep 17, 2018 · 1 comment

Comments

@M1ha-Shvn
Copy link

Hi
How to add additional arguments to database_configs?
To be concrete, I use pgbouncer and want to add DISABLE_SERVER_SIDE_CURSORS parameter. How can I achieve it without hacky:

for db in DATABASES.values():
    db['DISABLE_SERVER_SIDE_CURSORS'] = True
@JBKahn
Copy link
Owner

JBKahn commented Sep 18, 2018

We can update the function to allow you to pass additional options?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants