Hi all,
the usecase for the False/True template evaluation comes from this templatetag
here:
http://svn.sourceforge.net/viewvc/django-userlibs/trunk/libs.common/src/common/templatetags/commonmedia.py?revision=22&view=markup
function yes_no_icon_url(boolean_value)
Normally the boolean_value comes from an other object which will be evaluated
fine by the current template handling.
But then I have exactly one usecase where I don't call the function with an
object variable, instead I call it with explicit False and True. I could also
call it with 1 or 0 which would be my next step.
But {% any_tag False %} will still handled different than [% any_tag 'False'
%}. The first one will result in an error if False is not a variable-name in
the RequestContext and the second will use the string 'False'.
Regards,
Dirk
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---