I have one simple custom template tag:
@register.simple_tag
def show_language_choice_dropdown_menu():
return SHOW_LANGUAGE_CHOICE_DROPDOWN_MENU
which gets boolean value from settings. If I simply put it in text there is no problems, right value appears, but if i try to check:
{% if show_language_choice_dropdown_menu %}
it doesn't work - every time is False. What's wrong?