{"title":"Django 1.10.4 release notes","version":"dev","locale":"en","docname":"releases/1.10.4","url":"/en/dev/releases/1.10.4/","canonical":"https://djangodocs.dev/en/dev/releases/1.10.4/","summary":"Django 1.10.4 fixes several bugs in 1.10.3. Quoted the Oracle test user’s password in queries to fix the “ORA-00922: missing or invalid option” error when…","html":"<h1>Django 1.10.4 release notes<a class=\"heading-anchor\" href=\"#django-1-10-4-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>December 1, 2016</em></p>\n<p>Django 1.10.4 fixes several bugs in 1.10.3.</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>Quoted the Oracle test user’s password in queries to fix the “ORA-00922:\nmissing or invalid option” error when the password starts with a number or\nspecial character (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/27420\">#27420</a>).</p></li>\n<li><p>Fixed incorrect <code class=\"docutils literal notranslate\">app_label</code> / <code class=\"docutils literal notranslate\">model_name</code> arguments for\n<code class=\"docutils literal notranslate\">allow_migrate()</code> in <code class=\"docutils literal notranslate\">makemigrations</code> migration consistency checks\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/27461\">#27461</a>).</p></li>\n<li><p>Made <code class=\"docutils literal notranslate\">Model.delete(keep_parents=True)</code> preserve parent reverse\nrelationships in multi-table inheritance (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/27407\">#27407</a>).</p></li>\n<li><p>Fixed a <code class=\"docutils literal notranslate\">QuerySet.update()</code> crash on SQLite when updating a\n<code class=\"docutils literal notranslate\">DateTimeField</code> with an <code class=\"docutils literal notranslate\">F()</code> expression and a <code class=\"docutils literal notranslate\">timedelta</code>\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/27544\">#27544</a>).</p></li>\n<li><p>Prevented <code class=\"docutils literal notranslate\">LocaleMiddleware</code> from redirecting on URLs that should return\n404 when using <code class=\"docutils literal notranslate\">prefix_default_language=False</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/27402\">#27402</a>).</p></li>\n<li><p>Prevented an unnecessary index from being created on an InnoDB <code class=\"docutils literal notranslate\">ForeignKey</code>\nwhen the field was added after the model was created (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/27558\">#27558</a>).</p></li>\n</ul>\n</section>","rootId":"django-1-10-4-release-notes","toc":[{"title":"Bugfixes","anchor":"bugfixes","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/1.10.5","title":"Django 1.10.5 release notes","url":"/en/dev/releases/1.10.5/"},"next":{"docname":"releases/1.10.3","title":"Django 1.10.3 release notes","url":"/en/dev/releases/1.10.3/"},"formats":{"html":"/en/dev/releases/1.10.4/","markdown":"/en/dev/releases/1.10.4.md","json":"/en/dev/releases/1.10.4.json"},"source":"https://github.com/django/django/blob/main/docs/releases/1.10.4.txt","official":"https://docs.djangoproject.com/en/dev/releases/1.10.4/","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"],"inLocales":["en"]}