Ticket #6679: 6679.diff

File 6679.diff, 610 bytes (added by Gulopine, 8 years ago)

Simple fix, removing the argument modifiers so process_view() gets called the way it should

  • django/utils/decorators.py

     
    4141                if result is not None:
    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
    4747            try:
Back to Top