Ticket #21200: release_note_issue21200.patch

File release_note_issue21200.patch, 1.0 KB (added by Thomas Chaumeny, 8 years ago)

Release note patch (backwards incompatible change)

  • docs/releases/1.7.txt

    diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
    index 0901498..97fbf49 100644
    a b For apps with migrations, ``allow_migrate`` will now get passed 
    454454without custom attributes, methods or managers. Make sure your ``allow_migrate``
    455455methods are only referring to fields or other items in ``model._meta``.
    456456
     457Behavior of ``LocMemCache`` regarding pickle errors
     458~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     459
     460An inconsistency existed in previous versions of Django regarding how pickle
     461errors are handled by different cache backends.
     462``django.core.cache.backends.locmem.LocMemCache`` used to fail silently when
     463such an error occurs, which is inconsistent with other backends and leads to
     464cache-specific errors. This has been fixed in Django 1.7, see
     465`Ticket #21200`_ for more details.
     466
     467.. _Ticket #21200: https://code.djangoproject.com/ticket/21200
     468
    457469Passing ``None`` to ``Manager.db_manager()``
    458470~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    459471
Back to Top