None case with django templates or python

{% if variable != None %}

{% endif %}



or


{% if variable %}

{% endif %}

No comments:

Post a Comment