On Thu, Mar 25, 2010 at 11:28 AM, Bobby Roberts <tchend...@gmail.com> wrote:
> it is in the template an the traceback thrown is:
>
> 'if' statement improperly formatted

The documentation states:

> New in Django Development version.
> if tags may also use the operators ==, !=, <, >, <=, >= and in which work as 
> follows:

In other words, this is something which is not yet part of a released
version of Django. You are almost certainly using Django 1.1 or older,
where these operators were not supported.

In the future:

1. Take care to stick to the documentation for the version of Django
you're using.

2. Keep an eye out for notes about when particular features were
added; they'll appear in the documentation, in bold text, just before
the description of the feature.



-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to