Skip to content

Commit

Permalink
Fixed django#14929 -- Move gzip_page docstring to the right place. Th…
Browse files Browse the repository at this point in the history
…anks adamv.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
andrewgodwin committed Jan 8, 2011
1 parent ffb9a63 commit 33b2450
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 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."

0 comments on commit 33b2450

Please sign in to comment.