HAI
On 4/29/08, Mike Chambers <[EMAIL PROTECTED]> wrote: > > > Is it possible to include a template variable inside a filter? > > Specifically, I want to have a global setting for the date format string: > > Something like: > > settings.py > -- > DATE_TIME_FORMAT = "M j, F \a\t P" > > > template > -- > {{ comment.date_submitted|date:{{DATE_TIME_FORMAT}}}} > > I am guessing that I could write a custom filter that handles this, was > curious if there was another way to do it. > > mike > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users?hl=en -~----------~----~----~----~------~----~------~--~---