I have a boolean field in my Django model, like
reminder = models.BooleanField()
Now I want to compare this field in my django template under some specific conditions.
I do so
{% if x.reminder == 'True' %}
But, unfortunately, the above code does not give the expected result. I want to delete everything reminder = False Please help me, what can I do wrong here.
django
masterofdestiny
source share