Fixed #6181 - Document django.views.decorators.http - thanks adamv for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Timo Graham 2010-12-27 13:27:26 +00:00
parent c00c377e54
commit ee5fb7d18c
5 changed files with 79 additions and 1 deletions

View file

@ -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
--------------------------