{"title":"Django 1.11.3 release notes","version":"dev","locale":"en","docname":"releases/1.11.3","url":"/en/dev/releases/1.11.3/","canonical":"https://djangodocs.dev/en/dev/releases/1.11.3/","summary":"Django 1.11.3 fixes several bugs in 1.11.2. Removed an incorrect deprecation warning about a missing renderer argument if a Widget.render() method accepts…","html":"<h1>Django 1.11.3 release notes<a class=\"heading-anchor\" href=\"#django-1-11-3-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>July 1, 2017</em></p>\n<p>Django 1.11.3 fixes several bugs in 1.11.2.</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 an incorrect deprecation warning about a missing <code class=\"docutils literal notranslate\">renderer</code>\nargument if a <code class=\"docutils literal notranslate\">Widget.render()</code> method accepts <code class=\"docutils literal notranslate\">**kwargs</code>\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28265\">#28265</a>).</p></li>\n<li><p>Fixed a regression causing <code class=\"docutils literal notranslate\">Model.__init__()</code> to crash if a field has an\ninstance only descriptor (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28269\">#28269</a>).</p></li>\n<li><p>Fixed an incorrect <code class=\"docutils literal notranslate\">DisallowedModelAdminLookup</code> exception when using\na nested reverse relation in <code class=\"docutils literal notranslate\">list_filter</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28262\">#28262</a>).</p></li>\n<li><p>Fixed admin’s <code class=\"docutils literal notranslate\">FieldListFilter.get_queryset()</code> crash on invalid input\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28202\">#28202</a>).</p></li>\n<li><p>Fixed invalid HTML for a required <code class=\"docutils literal notranslate\">AdminFileWidget</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28278\">#28278</a>).</p></li>\n<li><p>Fixed model initialization to set the name of class-based model indexes\nfor models that only inherit <code class=\"docutils literal notranslate\">models.Model</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28282\">#28282</a>).</p></li>\n<li><p>Fixed crash in admin’s inlines when a model has an inherited non-editable\nprimary key (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/27967\">#27967</a>).</p></li>\n<li><p>Fixed <code class=\"docutils literal notranslate\">QuerySet.union()</code>, <code class=\"docutils literal notranslate\">intersection()</code>, and <code class=\"docutils literal notranslate\">difference()</code> when\ncombining with an <code class=\"docutils literal notranslate\">EmptyQuerySet</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28293\">#28293</a>).</p></li>\n<li><p>Prevented <code class=\"docutils literal notranslate\">Paginator</code>’s unordered object list warning from evaluating a\n<code class=\"docutils literal notranslate\">QuerySet</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28284\">#28284</a>).</p></li>\n<li><p>Fixed the value of <code class=\"docutils literal notranslate\">redirect_field_name</code> in <code class=\"docutils literal notranslate\">LoginView</code>’s template\ncontext. It’s now an empty string (as it is for the original function-based\n<code class=\"docutils literal notranslate\">login()</code> view) if the corresponding parameter isn’t sent in a request (in\nparticular, when the login page is accessed directly) (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28229\">#28229</a>).</p></li>\n<li><p>Prevented attribute values in the <code class=\"docutils literal notranslate\">django/forms/widgets/attrs.html</code>\ntemplate from being localized so that numeric attributes (e.g. <code class=\"docutils literal notranslate\">max</code> and\n<code class=\"docutils literal notranslate\">min</code>) of <code class=\"docutils literal notranslate\">NumberInput</code> work correctly (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28303\">#28303</a>).</p></li>\n<li><p>Removed casting of the option value to a string in the template context of\nthe <code class=\"docutils literal notranslate\">CheckboxSelectMultiple</code>, <code class=\"docutils literal notranslate\">NullBooleanSelect</code>, <code class=\"docutils literal notranslate\">RadioSelect</code>,\n<code class=\"docutils literal notranslate\">SelectMultiple</code>, and <code class=\"docutils literal notranslate\">Select</code> widgets (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28176\">#28176</a>). In Django\n1.11.1, casting was added in Python to avoid localization of numeric values\nin Django templates, but this made some use cases more difficult. Casting is\nnow done in the template using the <code class=\"docutils literal notranslate\">|stringformat:'s'</code> filter.</p></li>\n<li><p>Prevented a primary key alteration from adding a foreign key constraint if\n<code class=\"docutils literal notranslate\">db_constraint=False</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28298\">#28298</a>).</p></li>\n<li><p>Fixed <code class=\"docutils literal notranslate\">UnboundLocalError</code> crash in <code class=\"docutils literal notranslate\">RenameField</code> with nonexistent field\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28350\">#28350</a>).</p></li>\n<li><p>Fixed a regression preventing a model field’s <code class=\"docutils literal notranslate\">limit_choices_to</code> from being\nevaluated when a <code class=\"docutils literal notranslate\">ModelForm</code> is instantiated (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28345\">#28345</a>).</p></li>\n</ul>\n</section>","rootId":"django-1-11-3-release-notes","toc":[{"title":"Bugfixes","anchor":"bugfixes","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/1.11.4","title":"Django 1.11.4 release notes","url":"/en/dev/releases/1.11.4/"},"next":{"docname":"releases/1.11.2","title":"Django 1.11.2 release notes","url":"/en/dev/releases/1.11.2/"},"formats":{"html":"/en/dev/releases/1.11.3/","markdown":"/en/dev/releases/1.11.3.md","json":"/en/dev/releases/1.11.3.json"},"source":"https://github.com/django/django/blob/main/docs/releases/1.11.3.txt","official":"https://docs.djangoproject.com/en/dev/releases/1.11.3/","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"],"inLocales":["en"]}