On May 26, 11:05 am, Bojan Mihelac <bmihe...@gmail.com> wrote: > Hi all, > > is there a way to pass result of a template filter to some tag for > further processing? > > {% some_tag content|textile %} > > The best I came so far is something like: > > {% textile content as content2 %} > {% some_tag content2 %} > > With this textile, or any other filter should be rewritten as a tag > which does not seem DRY. > > thanks for your thoughts, > Bojan
I solve this with using custom templatetag captureas (http:// www.djangosnippets.org/snippets/545/). Thanks for both answers. --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---