#13795: Add CACHE_KEY_PREFIX setting that prefixes the low-level cache API ----------------------------------------+----------------------------------- Reporter: bruth | Owner: bruth Status: assigned | Milestone: 1.3 Component: Cache system | Version: SVN Resolution: | Keywords: Stage: Ready for checkin | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ----------------------------------------+----------------------------------- Comment (by bruth):
Replying to [comment:12 agabel]: > I don't like the fact that validate_key() was moved to make_key(). If you override make_key() it makes it too easy to forget to validate the key before continuing. The rest of the patch looks fine. I agree except that validate_key() is being called within the BaseCache.make_key method, not in the make_key function outside of the class. Because that is confusing, I will make the BaseCache.make_key method *private* since the method is really a proxy for the make_key function. -- Ticket URL: <http://code.djangoproject.com/ticket/13795#comment:13> Django <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 django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.