Could you elaborate?
The documentation indicates that complex expressions follow Python
exactly.
or
and
not
in
==, !=, <, >,``<=``, >=
(This follows Python exactly). So, for example, the following complex
if tag:
{% if a == b or c == d and e %}
..will be interpreted as:
(a == b) or ((c == d) and e)
On Jan 2, 5:28 pm, Shawn Milochik <[email protected]> wrote:
> The problem is that you're using Python syntax instead of template tags.
>
> http://docs.djangoproject.com/en/dev/ref/templates/builtins/
--
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en.