{"title":"Django 1.6.1 release notes","version":"dev","locale":"en","docname":"releases/1.6.1","url":"/en/dev/releases/1.6.1/","canonical":"https://djangodocs.dev/en/dev/releases/1.6.1/","summary":"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…","html":"<h1>Django 1.6.1 release notes<a class=\"heading-anchor\" href=\"#django-1-6-1-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>December 12, 2013</em></p>\n<p>This is Django 1.6.1, a bugfix release for Django 1.6. In addition to the bug\nfixes listed below, translations submitted since the 1.6 release are also\nincluded.</p>\n<section id=\"bug-fixes\">\n<h2>Bug fixes<a class=\"heading-anchor\" href=\"#bug-fixes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<ul class=\"simple\">\n<li><p>Fixed <code class=\"docutils literal notranslate\">BCryptSHA256PasswordHasher</code> with <code class=\"docutils literal notranslate\">py-bcrypt</code> and Python 3\n(#21398).</p></li>\n<li><p>Fixed a regression that prevented a <code class=\"docutils literal notranslate\">ForeignKey</code> with a hidden reverse\nmanager (<code class=\"docutils literal notranslate\">related_name</code> ending with ‘+’) from being used as a lookup for\n<code class=\"docutils literal notranslate\">prefetch_related</code> (#21410).</p></li>\n<li><p>Fixed <a class=\"reference internal\" href=\"/en/dev/ref/models/querysets/#django.db.models.query.QuerySet.datetimes\" title=\"django.db.models.query.QuerySet.datetimes\"><code class=\"xref py py-meth docutils literal notranslate\">Queryset.datetimes</code></a>\nraising <code class=\"docutils literal notranslate\">AttributeError</code> in some situations (#21432).</p></li>\n<li><p>Fixed <a class=\"reference internal\" href=\"/en/dev/ref/contrib/auth/#django.contrib.auth.backends.ModelBackend\" title=\"django.contrib.auth.backends.ModelBackend\"><code class=\"xref py py-class docutils literal notranslate\">ModelBackend</code></a> raising\n<code class=\"docutils literal notranslate\">UnboundLocalError</code> if <a class=\"reference internal\" href=\"/en/dev/topics/auth/customizing/#django.contrib.auth.get_user_model\" title=\"django.contrib.auth.get_user_model\"><code class=\"xref py py-func docutils literal notranslate\">get_user_model()</code></a>\nraised an error (#21439).</p></li>\n<li><p>Fixed a regression that prevented editable <code class=\"docutils literal notranslate\">GenericRelation</code> subclasses\nfrom working in <code class=\"docutils literal notranslate\">ModelForms</code> (#21428).</p></li>\n<li><p>Added missing <code class=\"docutils literal notranslate\">to_python</code> method for <code class=\"docutils literal notranslate\">ModelMultipleChoiceField</code> which\nis required in Django 1.6 to properly detect changes from initial values\n(#21568).</p></li>\n<li><p>Fixed <code class=\"docutils literal notranslate\">django.contrib.humanize</code> translations where the Unicode sequence\nfor the non-breaking space was returned verbatim (#21415).</p></li>\n<li><p>Fixed <a class=\"reference internal\" href=\"/en/dev/ref/django-admin/#django-admin-loaddata\"><code class=\"xref std std-djadmin docutils literal notranslate\">loaddata</code></a> error when fixture file name contained any dots\nnot related to file extensions (#21457) or when fixture path was relative\nbut located in a subdirectory (#21551).</p></li>\n<li><p>Fixed display of inline instances in formsets when parent has 0 for primary\nkey (#21472).</p></li>\n<li><p>Fixed a regression where custom querysets for foreign keys were overwritten\nif <code class=\"docutils literal notranslate\">ModelAdmin</code> had ordering set (#21405).</p></li>\n<li><p>Removed mention of a feature in the <code class=\"docutils literal notranslate\">--locale</code>/<code class=\"docutils literal notranslate\">-l</code> option of the\n<code class=\"docutils literal notranslate\">makemessages</code> and <code class=\"docutils literal notranslate\">compilemessages</code> commands that never worked as\npromised: Support of multiple locale names separated by commas. It’s still\npossible to specify multiple locales in one run by using the option\nmultiple times (#21488, #17181).</p></li>\n<li><p>Fixed a regression that unnecessarily triggered settings configuration when\nimporting <code class=\"docutils literal notranslate\">get_wsgi_application</code> (#21486).</p></li>\n<li><p>Fixed test client <code class=\"docutils literal notranslate\">logout()</code> method when using the cookie-based session\nbackend (#21448).</p></li>\n<li><p>Fixed a crash when a <code class=\"docutils literal notranslate\">GeometryField</code> uses a non-geometric widget (#21496).</p></li>\n<li><p>Fixed password hash upgrade when changing the iteration count (#21535).</p></li>\n<li><p>Fixed a bug in the debug view when the URLconf only contains one element\n(#21530).</p></li>\n<li><p>Re-added missing search result count and reset link in changelist admin view\n(#21510).</p></li>\n<li><p>The current language is no longer saved to the session by\n<code class=\"docutils literal notranslate\">LocaleMiddleware</code> on every response, but rather only after a logout\n(#21473).</p></li>\n<li><p>Fixed a crash when executing <code class=\"docutils literal notranslate\">runserver</code> on non-English systems and when\nthe formatted date in its output contained non-ASCII characters (#21358).</p></li>\n<li><p>Fixed a crash in the debug view after an exception occurred on Python ≥ 3.3\n(#21443).</p></li>\n<li><p>Fixed a crash in <a class=\"reference internal\" href=\"/en/dev/ref/models/fields/#django.db.models.ImageField\" title=\"django.db.models.ImageField\"><code class=\"xref py py-class docutils literal notranslate\">ImageField</code></a> on some platforms\n(Homebrew and RHEL6 reported) (#21355).</p></li>\n<li><p>Fixed a regression when using generic relations in <code class=\"docutils literal notranslate\">ModelAdmin.list_filter</code>\n(#21431).</p></li>\n</ul>\n</section>","rootId":"django-1-6-1-release-notes","toc":[{"title":"Bug fixes","anchor":"bug-fixes","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/1.6.2","title":"Django 1.6.2 release notes","url":"/en/dev/releases/1.6.2/"},"next":{"docname":"releases/1.6","title":"Django 1.6 release notes","url":"/en/dev/releases/1.6/"},"formats":{"html":"/en/dev/releases/1.6.1/","markdown":"/en/dev/releases/1.6.1.md","json":"/en/dev/releases/1.6.1.json"},"source":"https://github.com/django/django/blob/main/docs/releases/1.6.1.txt","official":"https://docs.djangoproject.com/en/dev/releases/1.6.1/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0","1.11","1.10","1.9","1.8"],"inLocales":["en"]}