#7460: cache tag calculates invalid key for memcached
-----------------------------------+----------------------------------------
          Reporter:  trbs          |         Owner:  nobody                     
             
            Status:  new           |     Milestone:  1.0                        
             
         Component:  Cache system  |       Version:  SVN                        
             
        Resolution:                |      Keywords:  memcached, space, problem, 
with, in, key
             Stage:  Accepted      |     Has_patch:  1                          
             
        Needs_docs:  0             |   Needs_tests:  0                          
             
Needs_better_patch:  1             |  
-----------------------------------+----------------------------------------
Changes (by jacob):

  * milestone:  post-1.0 => 1.0

Comment:

 I don't think we can assume the template designers understand the
 subtleties of memcached, so I think making the cache tag Do The Right
 Thing is something we should do. So un-punting.

 I'd like to see a patch without the single-use build_cache_key function --
 there's no reason not to inline it. Also, you should use something like
 urlencode to generate the key; that'll make sure to deal with bad chars
 other than spaces.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7460#comment:15>
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