Ticket #14929: gzip-move-doc.diff

File gzip-move-doc.diff, 528 bytes (added by adamv, 4 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 
    31from django.utils.decorators import decorator_from_middleware
    42from django.middleware.gzip import GZipMiddleware
    53
    64gzip_page = decorator_from_middleware(GZipMiddleware)
     5gzip_page.__doc__ = "Decorator for views that gzips pages if the client supports it."
Back to Top