On 8/31/06, James Bennett <[EMAIL PROTECTED]
> wrote:
This is correct.
At render time, templates are provided Python values from a context, where logical operations can be performed on them. 'False' == True in python, so this should be reflected in the logical processing of the template.
Russ Magee %-)
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.
This is correct.
At render time, templates are provided Python values from a context, where logical operations can be performed on them. 'False' == True in python, so this should be reflected in the logical processing of the template.
Russ Magee %-)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
