While dealing with http://code.djangoproject.com/ticket/2127, I realized that unless your decorator takes the same number of arguments as the filter function, it will fail since FilterExpression.args_check() (in django/template/__init__.py) is using inspect.getargspec() to count the number of required arguments.
Problem is that when using a decorator, getargspec() looks at the decorator's parameters, which usually include *args and **kwargs. The decorator doesn't always have the same number of arguments as the function it's decorating. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---