#5176: Bug in django.utils.cache._generate_cache_key(request, headerlist,
key_prefix)
-----------------------------------+----------------------------------------
          Reporter:  Eratothene    |         Owner:  nobody       
            Status:  reopened      |     Milestone:               
         Component:  Cache system  |       Version:  SVN          
        Resolution:                |      Keywords:  cache session
             Stage:  Accepted      |     Has_patch:  1            
        Needs_docs:  0             |   Needs_tests:  0            
Needs_better_patch:  0             |  
-----------------------------------+----------------------------------------
Changes (by sciyoshi):

 * cc: [EMAIL PROTECTED] (added)

Comment:

 Note that the same bug is present even when the order of the caching
 middleware is the new recommended one:

 {{{
 MIDDLEWARE_CLASSES = (
         'django.middleware.cache.UpdateCacheMiddleware',
         'django.middleware.common.CommonMiddleware',
         'django.contrib.sessions.middleware.SessionMiddleware',
         'django.middleware.locale.LocaleMiddleware',
         'django.contrib.auth.middleware.AuthenticationMiddleware',
         'django.middleware.http.ConditionalGetMiddleware',
         'django.middleware.gzip.GZipMiddleware',
         'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
         'django.middleware.cache.FetchFromCacheMiddleware',
 )
 }}}

 Gets triggered from the auth tests when I run manage.py test.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5176#comment:7>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to