71e7433040
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. |
||
---|---|---|
.. | ||
static | ||
templates/khaganat | ||
__init__.py | ||
settings.py | ||
urls.py | ||
wsgi.py |