2013-11-09 19:36:10 +08:00
|
|
|
==========================
|
|
|
|
Django 1.6.1 release notes
|
|
|
|
==========================
|
|
|
|
|
2013-12-13 04:08:22 +08:00
|
|
|
*December 12, 2013*
|
2013-11-09 19:36:10 +08:00
|
|
|
|
2013-12-13 04:08:22 +08:00
|
|
|
This is Django 1.6.1, a bugfix release for Django 1.6. In addition to the bug
|
|
|
|
fixes listed below, translations submitted since the 1.6 release are also
|
|
|
|
included.
|
2013-11-09 19:36:10 +08:00
|
|
|
|
|
|
|
Bug fixes
|
|
|
|
=========
|
|
|
|
|
|
|
|
* Fixed ``BCryptSHA256PasswordHasher`` with py-bcrypt and Python 3 (#21398).
|
2013-11-14 01:24:15 +08:00
|
|
|
* 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).
|
2013-11-15 06:13:20 +08:00
|
|
|
* 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).
|
2013-11-13 03:35:52 +08:00
|
|
|
* Fixed a regression that prevented editable ``GenericRelation`` subclasses
|
2013-12-13 04:08:22 +08:00
|
|
|
from working in ``ModelForms`` (#21428).
|
2013-12-06 21:40:51 +08:00
|
|
|
* Added missing ``to_python`` method for ``ModelMultipleChoiceField`` which
|
|
|
|
is required in Django 1.6 to properly detect changes from initial values
|
|
|
|
(#21568).
|
2020-04-18 22:46:05 +08:00
|
|
|
* Fixed ``django.contrib.humanize`` translations where the Unicode sequence
|
2013-11-18 04:22:06 +08:00
|
|
|
for the non-breaking space was returned verbatim (#21415).
|
2013-11-18 21:05:59 +08:00
|
|
|
* Fixed :djadmin:`loaddata` error when fixture file name contained any dots
|
2013-12-13 04:08:22 +08:00
|
|
|
not related to file extensions (#21457) or when fixture path was relative
|
2013-12-06 05:55:33 +08:00
|
|
|
but located in a subdirectory (#21551).
|
2013-11-21 04:34:29 +08:00
|
|
|
* Fixed display of inline instances in formsets when parent has 0 for primary
|
|
|
|
key (#21472).
|
2013-11-22 05:18:52 +08:00
|
|
|
* Fixed a regression where custom querysets for foreign keys were overwritten
|
|
|
|
if ``ModelAdmin`` had ordering set (#21405).
|
2013-12-13 04:08:22 +08:00
|
|
|
* Removed mention of a feature in the ``--locale``/``-l`` option of the
|
2013-11-23 10:47:04 +08:00
|
|
|
``makemessages`` and ``compilemessages`` commands that never worked as
|
|
|
|
promised: Support of multiple locale names separated by commas. It's still
|
2013-12-13 04:08:22 +08:00
|
|
|
possible to specify multiple locales in one run by using the option
|
2013-11-23 10:47:04 +08:00
|
|
|
multiple times (#21488, #17181).
|
2013-11-24 01:18:42 +08:00
|
|
|
* Fixed a regression that unnecessarily triggered settings configuration when
|
|
|
|
importing ``get_wsgi_application`` (#21486).
|
2013-11-24 03:51:17 +08:00
|
|
|
* Fixed test client ``logout()`` method when using the cookie-based session
|
|
|
|
backend (#21448).
|
2013-11-23 17:53:09 +08:00
|
|
|
* Fixed a crash when a ``GeometryField`` uses a non-geometric widget (#21496).
|
2013-11-30 09:49:56 +08:00
|
|
|
* Fixed password hash upgrade when changing the iteration count (#21535).
|
2013-12-13 04:08:22 +08:00
|
|
|
* Fixed a bug in the debug view when the URLconf only contains one element
|
2013-12-07 10:37:31 +08:00
|
|
|
(#21530).
|
2013-12-07 21:11:27 +08:00
|
|
|
* Re-added missing search result count and reset link in changelist admin view
|
|
|
|
(#21510).
|
2013-12-13 04:08:22 +08:00
|
|
|
* The current language is no longer saved to the session by ``LocaleMiddleware``
|
|
|
|
on every response, but rather only after a logout (#21473).
|
|
|
|
* Fixed a crash when executing ``runserver`` on non-English systems and when the
|
|
|
|
formatted date in its output contained non-ASCII characters (#21358).
|
|
|
|
* Fixed a crash in the debug view after an exception occurred on Python ≥ 3.3
|
|
|
|
(#21443).
|
|
|
|
* Fixed a crash in :class:`~django.db.models.ImageField` on some platforms
|
|
|
|
(Homebrew and RHEL6 reported) (#21355).
|
|
|
|
* Fixed a regression when using generic relations in ``ModelAdmin.list_filter``
|
|
|
|
(#21431).
|