diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2013-11-23 17:50:28 +0100 |
|---|---|---|
| committer | Florian Apolloner <florian@apolloner.eu> | 2013-11-23 17:50:28 +0100 |
| commit | e112654fc81ddb3fbffbb8382b004d69367a85fe (patch) | |
| tree | e9f2ca209cf574ced866487533f3fd6fd577cda3 /docs | |
| parent | 0ec712dd1190f609d928bbaa1d635e692a75242b (diff) | |
Fixed #21200 -- Consistantly raise errors across all cache backends.
Thanks to tchaumeny for the patch.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.7.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 8272e246c6..8c3226ff48 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -536,6 +536,18 @@ For apps with migrations, ``allow_migrate`` will now get passed without custom attributes, methods or managers. Make sure your ``allow_migrate`` methods are only referring to fields or other items in ``model._meta``. +Behavior of ``LocMemCache`` regarding pickle errors +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +An inconsistency existed in previous versions of Django regarding how pickle +errors are handled by different cache backends. +``django.core.cache.backends.locmem.LocMemCache`` used to fail silently when +such an error occurs, which is inconsistent with other backends and leads to +cache-specific errors. This has been fixed in Django 1.7, see +`Ticket #21200`_ for more details. + +.. _Ticket #21200: https://code.djangoproject.com/ticket/21200 + Passing ``None`` to ``Manager.db_manager()`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
