Index: django/utils/decorators.py
===================================================================
--- django/utils/decorators.py	(revision 4505)
+++ django/utils/decorators.py	(working copy)
@@ -30,4 +30,12 @@
                     return result
             return response
         return _wrapped_view
+
+    def _proper_2_4_decorator(*args, **kwargs):
+        def _decorator(f):
+            return _decorator_from_middleware(f, *args, **kwargs)
+        return _decorator
+
+    _decorator_from_middleware.decorator = _proper_2_4_decorator
+    
     return _decorator_from_middleware
