summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2010-12-27 13:28:04 +0000
committerTimo Graham <timograham@gmail.com>2010-12-27 13:28:04 +0000
commit5ba7bac5e7b600a3ce002393f454db05604c691e (patch)
treecba3c04086d87d448c2cf292d83a53f9de702957 /docs/ref
parent05588a1897dd5b008ce965361981d2860b29b75a (diff)
[1.2.X] Fixed #6181 - Document `django.views.decorators.http` - thanks adamv for the patch.
Backport of r15064 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/middleware.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt
index b1334a07cb..c3334f494a 100644
--- a/docs/ref/middleware.txt
+++ b/docs/ref/middleware.txt
@@ -98,6 +98,9 @@ compress content bodies less than 200 bytes long, when the response code is
something other than 200, JavaScript files (for IE compatibility), or
responses that have the ``Content-Encoding`` header already specified.
+GZip compression can be applied to individual views using the
+:func:`~django.views.decorators.http.gzip_page()` decorator.
+
Conditional GET middleware
--------------------------