When a template variable value is None, is it expected to render the word
'None'? I would expect this to fail silently instead of displaying the word.
Is there a configuration setting or some way to change the default
rendering? Do I have to wrap variables with an {% if ... %} in order to not
display None? I would appreciate any suggestions on how to handle the
display of variables equal to None.
Are you looking for this :
http://www.djangoproject.com/documentation/templates/#default-if-none
Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---