khaganat-web/khaganat
Rodolphe Breard 71e7433040 Parse environment variables with boolean values
Simply using bool() on the string returns True for every non-empty
string. Hence, the only way to set a value to False is to set it the an
empty string, which is counter-intuitive.
This commit will instead compare the string to well-known values for
True and return accordingly. Every other non-empty string is evaluated
to False. Empty string are evaluated to the default value.
2018-02-04 11:15:02 +01:00
..
static Improve the log style 2018-01-28 14:27:02 +01:00
templates/khaganat Add basic user functionalities 2018-02-04 01:36:39 +01:00
__init__.py first commit 2018-01-13 12:29:33 +01:00
settings.py Parse environment variables with boolean values 2018-02-04 11:15:02 +01:00
urls.py Add basic user functionalities 2018-02-04 01:36:39 +01:00
wsgi.py first commit 2018-01-13 12:29:33 +01:00