We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
env
dj_database_url.config
dj_database_url.config takes an env option that allows for customising the env var used for the database URL away from the default of DATABASE_URL:
DATABASE_URL
dj-database-url/dj_database_url/__init__.py
Lines 65 to 66 in 7906f3b
However, this option isn't documented in the README: https://github.com/jazzband/dj-database-url/blob/7906f3bf800105e6ab33bfbf44e6863fd178295a/README.rst#usage
Customising the env var is needed in the case of multiple DBs, where everything but the primary has to use something other than DATABASE_URL.
The text was updated successfully, but these errors were encountered:
dj-database-url
I believe this issue has been resolved by your own contribution? Thank you.
Sorry, something went wrong.
Hi! I'm not sure I follow?
This issue is about the env argument to dj_database_url.config not being documented in the README of this repo.
Checking the README now (using cmd+F -> search for "env") there is still no documentation of the env arg.
No branches or pull requests
dj_database_url.config
takes anenv
option that allows for customising the env var used for the database URL away from the default ofDATABASE_URL
:dj-database-url/dj_database_url/__init__.py
Lines 65 to 66 in 7906f3b
However, this option isn't documented in the README:
https://github.com/jazzband/dj-database-url/blob/7906f3bf800105e6ab33bfbf44e6863fd178295a/README.rst#usage
Customising the env var is needed in the case of multiple DBs, where everything but the primary has to use something other than
DATABASE_URL
.The text was updated successfully, but these errors were encountered: