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
This commit is contained in:
Andrew Godwin 2011-01-08 14:55:19 +00:00
parent 4a9ecdb148
commit 1ad644c0f0
1 changed files with 1 additions and 2 deletions

View File

@ -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.utils.decorators import decorator_from_middleware
from django.middleware.gzip import GZipMiddleware from django.middleware.gzip import GZipMiddleware
gzip_page = decorator_from_middleware(GZipMiddleware) gzip_page = decorator_from_middleware(GZipMiddleware)
gzip_page.__doc__ = "Decorator for views that gzips pages if the client supports it."