{"title":"Django 1.9.7 release notes","version":"dev","locale":"en","docname":"releases/1.9.7","url":"/en/dev/releases/1.9.7/","canonical":"https://djangodocs.dev/en/dev/releases/1.9.7/","summary":"Django 1.9.7 fixes several bugs in 1.9.6. Removed the need for the request context processor on the admin login page to fix a regression in 1.9 (#26558).","html":"<h1>Django 1.9.7 release notes<a class=\"heading-anchor\" href=\"#django-1-9-7-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>June 4, 2016</em></p>\n<p>Django 1.9.7 fixes several bugs in 1.9.6.</p>\n<section id=\"bugfixes\">\n<h2>Bugfixes<a class=\"heading-anchor\" href=\"#bugfixes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<ul class=\"simple\">\n<li><p>Removed the need for the <code class=\"docutils literal notranslate\">request</code> context processor on the admin login\npage to fix a regression in 1.9 (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/26558\">#26558</a>).</p></li>\n<li><p>Fixed translation of password validators’ <code class=\"docutils literal notranslate\">help_text</code> in forms\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/26544\">#26544</a>).</p></li>\n<li><p>Fixed a regression causing the cached template loader to crash when using\nlazy template names (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/26603\">#26603</a>).</p></li>\n<li><p>Fixed <code class=\"docutils literal notranslate\">on_commit</code> callbacks execution order when callbacks make\ntransactions (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/26627\">#26627</a>).</p></li>\n<li><p>Fixed <code class=\"docutils literal notranslate\">HStoreField</code> to raise a <code class=\"docutils literal notranslate\">ValidationError</code> instead of crashing on\nnon-dictionary JSON input (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/26672\">#26672</a>).</p></li>\n<li><p>Fixed <code class=\"docutils literal notranslate\">dbshell</code> crash on PostgreSQL with an empty database name\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/26698\">#26698</a>).</p></li>\n<li><p>Fixed a regression in queries on a <code class=\"docutils literal notranslate\">OneToOneField</code> that has <code class=\"docutils literal notranslate\">to_field</code>\nand <code class=\"docutils literal notranslate\">primary_key=True</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/26667\">#26667</a>).</p></li>\n</ul>\n</section>","rootId":"django-1-9-7-release-notes","toc":[{"title":"Bugfixes","anchor":"bugfixes","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/1.9.8","title":"Django 1.9.8 release notes","url":"/en/dev/releases/1.9.8/"},"next":{"docname":"releases/1.9.6","title":"Django 1.9.6 release notes","url":"/en/dev/releases/1.9.6/"},"formats":{"html":"/en/dev/releases/1.9.7/","markdown":"/en/dev/releases/1.9.7.md","json":"/en/dev/releases/1.9.7.json"},"source":"https://github.com/django/django/blob/main/docs/releases/1.9.7.txt","official":"https://docs.djangoproject.com/en/dev/releases/1.9.7/","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"],"inLocales":["en"]}