I have the following template:
{% if db.get(name + '1', None): %}
<th class=done><a href="/{{ oy }}/{{ om }}/1">1</a></th>
{% else: %}
<th><a href="/{{ oy }}/{{ om }}/1">1</a></th>
{% endif %}
However it always displays the else statements HTML when I have a
db[name + 1] already. What am I doing wrong?
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pocoo-libs?hl=en.