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

allow TEST settings to be passed into a db config #116

Merged
merged 9 commits into from
Dec 12, 2022
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 12, 2022
commit 252ec98179059ca5103e10c66c9907daa25f617f
4 changes: 3 additions & 1 deletion dj_database_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ def config(
s = os.environ.get(env, default)

if s:
return parse(s, engine, conn_max_age, conn_health_checks, ssl_require, test_options)
return parse(
s, engine, conn_max_age, conn_health_checks, ssl_require, test_options
)

return {}

Expand Down