Django

Code

Show
Ignore:
Timestamp:
03/17/08 12:47:34 (8 months ago)
Author:
gwilson
Message:

Fixed #6679 -- In decorator_from_middleware, don't unpack arguments when calling a middleware's
process_view method, thanks Gulopine.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/utils/decorators.py

    r7153 r7269  
    4242                    return result 
    4343            if hasattr(middleware, 'process_view'): 
    44                 result = middleware.process_view(request, view_func, *args, **kwargs) 
     44                result = middleware.process_view(request, view_func, args, kwargs) 
    4545                if result is not None: 
    4646                    return result