Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #14929 -- Move gzip_page docstring to the right place. Thanks a…

…damv.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 1ad644c0f052a60903ed0b94defe0c04fca47d06 1 parent 4a9ecdb
Andrew Godwin andrewgodwin authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  django/views/decorators/gzip.py
3  django/views/decorators/gzip.py
View
@@ -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."
Please sign in to comment.
Something went wrong with that request. Please try again.