On 8/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> The committer russelm said: Template variable evalution should follow Python 
> norms.

As I understand it, the distinction is between the string 'False' and
the boolean False.

In other words, if you pop open a Python shell and do this:

>>> 'False' is False
False

You find that they're not the same -- 'False' is a non-empty string of
characters and in boolean comparisons evaluates True. False (without
quotes) is a constant which always evaluates False.

-- 
"May the forces of evil become confused on the way to your house."
  -- George Carlin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to