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