Ticket #8698: 8698-middleware-docs-cachemiddleware.diff

File 8698-middleware-docs-cachemiddleware.diff, 770 bytes (added by akaihola, 7 years ago)

patch for middleware documentation

  • docs/ref/middleware.txt

     
    2020.. module:: django.middleware.cache
    2121   :synopsis: Middleware for the site-wide cache
    2222   
    23 .. class:: django.middleware.cache.CacheMiddleware
     23.. class:: django.middleware.cache.UpdateCacheMiddleware
    2424
    25 Enables the site-wide cache. If this is enabled, each Django-powered page will
     25.. class:: django.middleware.cache.FetchFromCacheMiddleware
     26
     27Enable the site-wide cache. If these are enabled, each Django-powered page will
    2628be cached for as long as the :setting:`CACHE_MIDDLEWARE_SECONDS` setting
    2729defines. See the :ref:`cache documentation <topics-cache>`.
    2830
Back to Top