Ticket #14929: gzip-move-doc.diff
File gzip-move-doc.diff, 528 bytes (added by , 14 years ago) |
---|
-
django/views/decorators/gzip.py
diff --git a/django/views/decorators/gzip.py b/django/views/decorators/gzip.py index dc6edad..f5b009d 100644
a b 1 "Decorator for views that gzips pages if the client supports it."2 3 1 from django.utils.decorators import decorator_from_middleware 4 2 from django.middleware.gzip import GZipMiddleware 5 3 6 4 gzip_page = decorator_from_middleware(GZipMiddleware) 5 gzip_page.__doc__ = "Decorator for views that gzips pages if the client supports it."