django-iam-dbauth icon indicating copy to clipboard operation
django-iam-dbauth copied to clipboard

`dbshell` support

Open RealOrangeOne opened this issue 7 months ago • 0 comments

By default, Django assumes it can derive the connection details from just the settings dict. In this case, that won't work as the password is generated on the fly.

The solution appears to be a custom DatabaseClient, which passes the password in where needed to the settings_to_cmd_args_env.

RealOrangeOne avatar May 20 '25 14:05 RealOrangeOne