web/lib/django/views/decorators/gzip.py
changeset 0 0d40e90630ef
equal deleted inserted replaced
-1:000000000000 0:0d40e90630ef
       
     1 "Decorator for views that gzips pages if the client supports it."
       
     2 
       
     3 from django.utils.decorators import decorator_from_middleware
       
     4 from django.middleware.gzip import GZipMiddleware
       
     5 
       
     6 gzip_page = decorator_from_middleware(GZipMiddleware)