diff options
| author | Timo Graham <timograham@gmail.com> | 2010-12-27 13:27:26 +0000 |
|---|---|---|
| committer | Timo Graham <timograham@gmail.com> | 2010-12-27 13:27:26 +0000 |
| commit | ee5fb7d18c9e06b564e6947f63c18436a3c8b66c (patch) | |
| tree | 75485d1e957331758cdf3041b98470f858902847 /docs/ref/middleware.txt | |
| parent | c00c377e5402fcb658baff982cf908138974a2b5 (diff) | |
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
Diffstat (limited to 'docs/ref/middleware.txt')
| -rw-r--r-- | docs/ref/middleware.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt index 2625155dd9..cb90684847 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 -------------------------- |
