-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
What's the proper way to define and call a boolean var #417
Comments
why is this not documented? |
Any advice on the proper way here, please? |
Could any of you provide minimal reproducible example where the value from env file is not interpreted correctly? According to the source code, following values should be interpreted as
They are all case insensitive |
This issue was from a while ago. I just re-tested using Django's runserver and it seems to be working fine. I'm trying to recall what the actual issue might have been. I think it might have been with a particular server environment that this was deployed too. I wish I had more details for you. It would be nice if those values were documented somewhere (if they aren't already documented). I'd say it's safe to close this out unless someone else ran into the issue I was experiencing. |
Checked it and it's not documented. Dropping link to relevant code here for documentation. |
In my .env file I have defined:
Should this be defined with
1,0, true,false, True,False, on,off
?In my settings file:
The text was updated successfully, but these errors were encountered: