2017-06-01 17:19:43 +02:00
|
|
|
|
===========================
|
|
|
|
|
Django 1.11.3 release notes
|
|
|
|
|
===========================
|
|
|
|
|
|
2017-07-02 01:13:35 +02:00
|
|
|
|
*July 1, 2017*
|
2017-06-01 17:19:43 +02:00
|
|
|
|
|
|
|
|
|
Django 1.11.3 fixes several bugs in 1.11.2.
|
|
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
|
========
|
|
|
|
|
|
2017-06-02 15:46:43 +02:00
|
|
|
|
* Removed an incorrect deprecation warning about a missing ``renderer``
|
|
|
|
|
argument if a ``Widget.render()`` method accepts ``**kwargs``
|
|
|
|
|
(:ticket:`28265`).
|
2017-06-04 23:58:24 +02:00
|
|
|
|
|
|
|
|
|
* Fixed a regression causing ``Model.__init__()`` to crash if a field has an
|
|
|
|
|
instance only descriptor (:ticket:`28269`).
|
2017-06-04 20:10:48 +02:00
|
|
|
|
|
|
|
|
|
* Fixed an incorrect ``DisallowedModelAdminLookup`` exception when using
|
|
|
|
|
a nested reverse relation in ``list_filter`` (:ticket:`28262`).
|
2017-06-04 00:13:38 +02:00
|
|
|
|
|
|
|
|
|
* Fixed admin's ``FieldListFilter.get_queryset()`` crash on invalid input
|
|
|
|
|
(:ticket:`28202`).
|
2017-06-05 22:17:10 +02:00
|
|
|
|
|
|
|
|
|
* Fixed invalid HTML for a required ``AdminFileWidget`` (:ticket:`28278`).
|
2017-06-07 16:13:12 +02:00
|
|
|
|
|
|
|
|
|
* Fixed model initialization to set the name of class-based model indexes
|
|
|
|
|
for models that only inherit ``models.Model`` (:ticket:`28282`).
|
2017-06-10 02:54:10 +02:00
|
|
|
|
|
|
|
|
|
* Fixed crash in admin's inlines when a model has an inherited non-editable
|
|
|
|
|
primary key (:ticket:`27967`).
|
2017-06-13 08:16:16 +02:00
|
|
|
|
|
|
|
|
|
* Fixed ``QuerySet.union()``, ``intersection()``, and ``difference()`` when
|
|
|
|
|
combining with an ``EmptyQuerySet`` (:ticket:`28293`).
|
2017-06-08 18:29:13 +02:00
|
|
|
|
|
|
|
|
|
* Prevented ``Paginator``’s unordered object list warning from evaluating a
|
|
|
|
|
``QuerySet`` (:ticket:`28284`).
|
2017-05-22 23:52:56 +02:00
|
|
|
|
|
|
|
|
|
* Fixed the value of ``redirect_field_name`` in ``LoginView``’s template
|
|
|
|
|
context. It's now an empty string (as it is for the original function-based
|
|
|
|
|
``login()`` view) if the corresponding parameter isn't sent in a request (in
|
|
|
|
|
particular, when the login page is accessed directly) (:ticket:`28229`).
|
2017-06-17 14:12:05 +02:00
|
|
|
|
|
|
|
|
|
* Prevented attribute values in the ``django/forms/widgets/attrs.html``
|
|
|
|
|
template from being localized so that numeric attributes (e.g. ``max`` and
|
|
|
|
|
``min``) of ``NumberInput`` work correctly (:ticket:`28303`).
|
2017-06-15 17:05:21 +02:00
|
|
|
|
|
|
|
|
|
* Removed casting of the option value to a string in the template context of
|
|
|
|
|
the ``CheckboxSelectMultiple``, ``NullBooleanSelect``, ``RadioSelect``,
|
|
|
|
|
``SelectMultiple``, and ``Select`` widgets (:ticket:`28176`). In Django
|
|
|
|
|
1.11.1, casting was added in Python to avoid localization of numeric values
|
|
|
|
|
in Django templates, but this made some use cases more difficult. Casting is
|
|
|
|
|
now done in the template using the ``|stringformat:'s'`` filter.
|
2017-06-12 02:05:54 +02:00
|
|
|
|
|
|
|
|
|
* Prevented a primary key alteration from adding a foreign key constraint if
|
|
|
|
|
``db_constraint=False`` (:ticket:`28298`).
|
2017-06-30 14:35:58 +02:00
|
|
|
|
|
|
|
|
|
* Fixed ``UnboundLocalError`` crash in ``RenameField`` with nonexistent field
|
|
|
|
|
(:ticket:`28350`).
|
2017-06-29 05:30:19 +02:00
|
|
|
|
|
|
|
|
|
* Fixed a regression preventing a model field's ``limit_choices_to`` from being
|
|
|
|
|
evaluated when a ``ModelForm`` is instantiated (:ticket:`28345`).
|