Ticket #84 (closed enhancement: fixed)

Opened 19 months ago

Last modified 10 months ago

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

Changed 19 months ago by JensDiemer

  • milestone changed from v0.8 (PyLucid with django) to v0.8.1

Changed 10 months ago by JensDiemer

  • status changed from new to closed
  • resolution set to fixed

should be fixed. With the new cache middleware.

Note: See TracTickets for help on using tickets.