Sfoglia il codice sorgente

Added backported fixes to 1.6.1 release notes.

Baptiste Mispelon 11 anni fa
parent
commit
8e6d1b9792
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      docs/releases/1.6.1.txt

+ 5 - 0
docs/releases/1.6.1.txt

@@ -15,3 +15,8 @@ Bug fixes
 * Fixed a regression that prevented a ``ForeignKey`` with a hidden reverse
   manager (``related_name`` ending with '+') from being used as a lookup for
   ``prefetch_related`` (#21410).
+* Fixed :meth:`Queryset.datetimes<django.db.models.query.QuerySet.datetimes>`
+  raising ``AttributeError`` in some situations (#21432).
+* Fixed :class:`~django.contrib.auth.backends.ModelBackend` raising
+  ``UnboundLocalError`` if :func:`~django.contrib.auth.get_user_model`
+  raised an error (#21439).