Ticket #84 (closed enhancement: fixed)
CacheMiddleware AssertionError befor PyLucid installed...
| Reported by: | JensDiemer | Owned by: | jens |
|---|---|---|---|
| Priority: | major | Milestone: | v0.8.5 |
| Component: | system | Keywords: | django, cache |
| Cc: |
Description
If PyLucid not installed. The AuthenticationMiddleware? is not active. The cms page view used the cache system. So it comes to the error, if the user used not the _install url:
The Django cache middleware with CACHE_MIDDLEWARE_ANONYMOUS_ONLY=True requires authentication middleware to be installed. Edit your MIDDLEWARE_CLASSES setting to insert 'django.contrib.auth.middleware.AuthenticationMiddleware' before the CacheMiddleware.
Change History
Note: See
TracTickets for help on using
tickets.
