summaryrefslogtreecommitdiff
path: root/django/core/cache.py
AgeCommit message (Collapse)Author
2006-02-24Refactored cache from django/core/cache.py into django/core/cache package, ↵Adrian Holovaty
with each backend getting a separate module. This keeps things cleaner and uses less memory, because the backend module is only loaded if it's needed. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-12Fixed #1203 -- Fixed two typos in cache.py. Thanks, EugeneAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-03Added 'dummy' cache backendAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16Fixed #1039 -- Changed file-based cache to cache EOFErrors during pickle. ↵Adrian Holovaty
Thanks for the patch, Eugene git-svn-id: http://code.djangoproject.com/svn/django/trunk@1685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-10Fixed #763 -- cache system now catches OSError for os.remove() call. Thanks, ↵Adrian Holovaty
Eugene git-svn-id: http://code.djangoproject.com/svn/django/trunk@1158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09Fixed #761; thanks, EugeneJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29Fixed #140: memcached backends may now use multiple serversJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10Fixed #599 -- locmem cache now uses deepcopy() to prevent aliasing. Thanks, HugoAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26Quick bug fix to [699] - fixes #515.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26Added exception handlers to take care of the bugs with the file and db backendsJacob Kaplan-Moss
(refs #515). Eugene, I'm going to leave #515 open; can you check the bug fixes in this revision and mark the ticket as closed if you're satisfied? I don't run Django in a threaded environment, so I'm having issues reproducing your errors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26Fixed #515 (again) - renamed "key" field in SQL cache to "cache_key" because Jacob Kaplan-Moss
MySQL reserves "key". git-svn-id: http://code.djangoproject.com/svn/django/trunk@695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25Added a database-backed cache backend, along with a tool in django-admin to Jacob Kaplan-Moss
create the necessary table structure. This closes #515; thanks again, Eugene! git-svn-id: http://code.djangoproject.com/svn/django/trunk@692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25Added "locmem" and "file" cache backends. "locmem" is a thread-safe ↵Jacob Kaplan-Moss
local-memory cache, and "file" is a file-based cache. This refs #515; much thanks to Eugene Lazutkin! git-svn-id: http://code.djangoproject.com/svn/django/trunk@686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01Fixed #392 -- Fixed bug in memcache setup if arguments are given. Thanks, ↵Adrian Holovaty
adrian@exoweb.net git-svn-id: http://code.djangoproject.com/svn/django/trunk@598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-13Imported Django from private SVN repository (created from r. 8825)Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3 bcc190cf-cafb-0310-a4f2-bffc1f526a37