| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-10-30 | [2.0.x] Refs #27318 -- Made DummyCache.set_many() return a list for ↵ | Adam Johnson | |
| consistency with other backends. Backport of abacd09f07f4bb0aa1a3a32bc6e3c3570fa76912 from master | |||
| 2017-10-10 | [2.0.x] Fixed #28601 -- Prevented cache.get_or_set() from caching None if ↵ | Daniel Tao | |
| default is a callable that returns None. Backport of 4d60261b2a77460b4c127c3d832518b95e11a0ac from master | |||
| 2017-09-07 | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | |
| This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | |||
| 2017-09-06 | Fixed #27318 -- Made cache.set_many() return the list of failed keys. | Olivier Tabone | |
| 2017-09-05 | Used dict comprehensions in BaseMemcachedCache.get_many() and set_many() for ↵ | Sergey Fedoseev | |
| better readability. | |||
| 2017-09-03 | Fixed #28500 -- Fixed crash in FileBasedCache._is_expired() if the cache ↵ | caleb logan | |
| file is empty. | |||
| 2017-07-20 | Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵ | Tim Graham | |
| Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa. | |||
| 2017-07-14 | Fixed #28397 -- Removed django.core.exceptions.DjangoRuntimeWarning. | Tim Graham | |
| 2017-06-28 | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | |
| 2017-06-01 | Refs #23968 -- Removed unnecessary lists, generators, and tuple calls. | Jon Dufresne | |
| 2017-02-21 | Refs #27656 -- Updated django.core docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-02-03 | Fixed spelling of "nonexistent". | Tim Graham | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-25 | Refs #23919 -- Replaced errno checking with PEP 3151 exceptions. | Tim Graham | |
| 2017-01-20 | Refs #23919 -- Removed unneeded force_str calls | Claude Paroz | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Replaced io.open() with open(). | Aymeric Augustin | |
| io.open() is an alias for open() on Python 3. | |||
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-09-02 | Fixed #11331 -- Stopped closing pylibmc connections after each request. | Ed Morley | |
| libmemcached manages its own connections, so isn't affected by refs #5133. | |||
| 2016-08-31 | Fixed #27152 -- Supported comma delimiter in memcached LOCATION string. | Ed Morley | |
| 2016-08-31 | Fixed #20892 -- Allowed configuring memcached client using OPTIONS. | Ed Morley | |
| Previously, the MemcachedCache backend ignored `OPTIONS` and PyLibMCCache used them to set pylibmc behaviors. Both backends now pass `OPTIONS` as keyword arguments to the client constructors. | |||
| 2016-07-11 | Fixed #26792 -- Allowed None for the value of cache.get_or_set(). | Dmitry S..ky / skype: dvska-at-skype | |
| 2016-06-15 | Fixed broken links in docs and comments. | Ville Skyttä | |
| 2016-06-01 | Fixed #26694 -- Made FileBasedCache.get() reraise non-ENOENT IOErrors. | Jon Dufresne | |
| 2016-05-31 | Fixed #26691 -- Removed checking for a file's existence before deleting. | Jon Dufresne | |
| File operations always raise a ENOENT error when a file doesn't exist. Checking the file exists before the operation adds a race condition condition where the file could be removed between operations. As the operation already raises an error on a missing file, avoid this race and avoid checking the file exists twice. Instead only check a file exists by catching the ENOENT error. | |||
| 2016-04-08 | Fixed E128 flake8 warnings in django/. | Tim Graham | |
| 2016-04-05 | Fixed #26462 -- Fixed Python 2 UnicodeEncodeError when warning about long ↵ | Przemysław Suliga | |
| cache keys. | |||
| 2016-04-04 | Fixed #26460 -- Issued a single warning for invalid cache key | Przemysław Suliga | |
| 2016-03-08 | Fixed #26332 -- Fixed a race condition in BaseCache.get_or_set(). | Przemysław Suliga | |
| 2016-01-25 | Fixed #26125 -- Fixed E731 flake warnings. | userimack | |
| 2015-12-29 | Fixed typo in BaseCache.delete_many() docstring. | Matthew Madurski | |
| 2015-12-04 | Fixed #25840 -- Fixed BaseCache.get_or_set() on the DummyCache backend. | Emre Yilmaz | |
| This also fixes a possible data eviction race condition between setting and getting a key. Another thread could remove the key before get_and_set() accesses it again. In this case, now the default value will be returned instead of None. | |||
| 2015-11-14 | Refs #25501 -- Fixed a typo in django/core/cache/backends/filebased.py | Jaap Roes | |
| The original intent in refs #20536 was to use the highest protocol. Calling zlib.compress() with a compression level of -1 seems to fall back to the default level of 6. | |||
| 2015-11-03 | Fixed #25668 -- Misc spelling errors | Ville Skyttä | |
| 2015-10-20 | Fixed #25501 -- Made the file-based cache backend use the highest pickling ↵ | Andrew Artajos | |
| protocol. | |||
| 2015-09-16 | Fixed typo in django/core/cache/backends/base.py docstring. | Matthew Crowson | |
| 2015-08-31 | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | |
| 2015-07-06 | Updated Memcached get_backend_timeout() comment. | Karol Duleba | |
| 2015-05-17 | Refactored datetime handling in the database cache backend. | Aymeric Augustin | |
| Took advantage of the new database adapters and converters. | |||
| 2015-05-17 | Renamed value_to_db_xxx to adapt_xxxfield_value. | Aymeric Augustin | |
| This mirrors convert_xxxfield_value nicely, taking advantage of the adapter/converter terminology which is commonly used by DB-API modules. | |||
| 2015-05-17 | Removed global timezone-aware datetime converters. | Aymeric Augustin | |
| Refs #23820. | |||
| 2015-05-13 | Removed unnecessary arguments in .get method calls | Piotr Jakimiak | |
| 2015-03-14 | Fixed #12982 -- Added a get_or_set() method to the BaseCache backend. | Berker Peksag | |
| 2015-02-20 | Fixed #24351, #24346 -- Changed the signature of allow_migrate(). | Loic Bistuer | |
| The new signature enables better support for routing RunPython and RunSQL operations, especially w.r.t. reusable and third-party apps. This commit also takes advantage of the deprecation cycle for the old signature to remove the backward incompatibility introduced in #22583; RunPython and RunSQL won't call allow_migrate() when when the router has the old signature. Thanks Aymeric Augustin and Tim Graham for helping shape up the patch. Refs 22583. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-17 | Removed BaseMemcachedCacheMethods._get_memcache_timeout backwards ↵ | Tim Graham | |
| compatibility shim. Per deprecation timeline; refs #21147. | |||
| 2014-11-13 | Fixed #16358 - Made memcache backend delete old value on a failure to set. | Michael Manfre | |
| Default Memcached configuration allows for a maximum object of 1MB and will fail to set the key if it is too large. The key will be deleted from memcached if it fails to be set. This is needed to avoid an issue with cache_db session backend using the old value stored in memcached, instead of the newer value stored in the database. | |||
