Author: andrewgodwin Date: 2011-01-08 08:55:19 -0600 (Sat, 08 Jan 2011) New Revision: 15161
Modified: django/trunk/django/views/decorators/gzip.py Log: Fixed #14929 -- Move gzip_page docstring to the right place. Thanks adamv. Modified: django/trunk/django/views/decorators/gzip.py =================================================================== --- django/trunk/django/views/decorators/gzip.py 2011-01-08 14:53:44 UTC (rev 15160) +++ django/trunk/django/views/decorators/gzip.py 2011-01-08 14:55:19 UTC (rev 15161) @@ -1,6 +1,5 @@ -"Decorator for views that gzips pages if the client supports it." - from django.utils.decorators import decorator_from_middleware from django.middleware.gzip import GZipMiddleware gzip_page = decorator_from_middleware(GZipMiddleware) +gzip_page.__doc__ = "Decorator for views that gzips pages if the client supports it." -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.