From 1ad644c0f052a60903ed0b94defe0c04fca47d06 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 8 Jan 2011 14:55:19 +0000 Subject: [PATCH] Fixed #14929 -- Move gzip_page docstring to the right place. Thanks adamv. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15161 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/views/decorators/gzip.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/django/views/decorators/gzip.py b/django/views/decorators/gzip.py index dc6edad049..f5b009db4a 100644 --- a/django/views/decorators/gzip.py +++ b/django/views/decorators/gzip.py @@ -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."