diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2011-01-08 14:56:02 +0000 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2011-01-08 14:56:02 +0000 |
| commit | d065e7eed2b0fdf7d492a5fb8dfd3e62b58b92da (patch) | |
| tree | 643e1139b5a4fc2e5341635017296363f1463d64 | |
| parent | 34d306c71c2c30d8543ab65934d351b86f3de008 (diff) | |
[1.2.X] Fixed #14929 -- Move gzip_page docstring to the right place. Thanks adamv.
Backport of [15161] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/views/decorators/gzip.py | 3 |
1 files changed, 1 insertions, 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." |
