So my template looks like: {{ group|caps }} (`group` is a Model object and the `caps` filter just capitalizes the first letter) and I'm stuck with double escaping.
The problem is, that it still gets double-escaped. Django's FilterExpression checks to see if the incoming object is SafeData, but at this stage it is a Model object - it hasn't be translated to its __unicode__ value yet. I thought I had found the solution by applying the stringfilter decorator to my filter but that doesn't help either, because that still only gets applied after FilterExpression does its check. I can't really see how to overcome this problem in the template parser. Malcolm? --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---