On 11/10/06, Don Arbow <[EMAIL PROTECTED]> wrote: > > There's already a filter called 'default_if_none', check the > documentation. > yeah, I saw it before I sent this email :( sorry if I disturbed anyone. I did it like:
#in a template: {{ foo|default_if_none:"" }} Thanks! > Don > -- http://www.advogato.org/person/mgonzalez/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---