diff options
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/decorators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/decorators.py b/django/utils/decorators.py index 3ec5b4cbbf..1c6cc8c7de 100644 --- a/django/utils/decorators.py +++ b/django/utils/decorators.py @@ -13,7 +13,7 @@ def decorator_from_middleware(middleware_class): if result is not None: return result if hasattr(middleware, 'process_view'): - result = middleware.process_view(request, view_func, **kwargs) + result = middleware.process_view(request, view_func, *args, **kwargs) if result is not None: return result try: |
