django-sharding
django-sharding copied to clipboard
Adding additional arguments to databases
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
We can update the function to allow you to pass additional options?