RajeshD wrote: > Don't know if a filter can do what you need. But you could turn this > into a tag instead of a filter: > > {{ highlight search obj.field }}
Thanks. That worked nicely. It would be nice, however, if filters had access to the template context so you could do more sophisticated things. Even though I've got this working as a tag, it sure seems like a good use case for a filter. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---