Check for request.GET variable in the template

Posted by 47 on Stack Overflow See other posts from Stack Overflow or by 47
Published on 2010-06-05T17:18:30Z Indexed on 2010/06/05 17:22 UTC
Read the original article Hit count: 138

Filed under:
|

I want to display a certain in the template only if a certain GET variable is set....I thought using {% if request.get.my_var %} would work, but it's not giving me the results.

© Stack Overflow or respective owner

Related posts about django

Related posts about template