From ee5fb7d18c9e06b564e6947f63c18436a3c8b66c Mon Sep 17 00:00:00 2001 From: Timo Graham Date: Mon, 27 Dec 2010 13:27:26 +0000 Subject: 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 --- docs/ref/middleware.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/ref') 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 -------------------------- -- cgit v1.3