Oohh yes! That is what I was looking for. Still thanks! As you said it's not working exactly how I use to rememeber...but it's ok! :)
On 13 Dic, 14:15, bruno desthuilliers <bruno.desthuilli...@gmail.com> wrote: > On 13 déc, 10:00, PyMan <claudio.marino...@rsoft.it> wrote: > > > Maybe I'm wrong but I remember about a setting whose I don't remember > > the name...acting like a default for default_if_none where > > default_if_none was not used. > > > Example: > > {{ value }} <-- I forgot about using the "default_if_none" filter > > You're possibly thinking of TEMPLATE_STRING_IF_INVALID: > > http://docs.djangoproject.com/en/1.2/ref/settings/#template-string-if... > > but IIRC it won't work like this: > > > If the setting I'm talking about is defined then its value is used > > instead of "None" as string, if value is None. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.