Instead of passing the complete template context to its filter, django.template.FilterNode passes a new Context instance containing only the "var" key, whose value is the rendered content of the block. In other words, this contrived example works:
{{ obj|cut:request.GET.cut }} This one, instead, surprises you (or me, at least) with a VariableDoesNotExist: {% filter cut:request.GET.cut %}{{ obj }}{% endfilter %} Is this intentional behavior for some reason I've not understood, or should I write a patch? -Zak --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---