Path to this page:
Subject: CVS commit: pkgsrc/www/py-django
From: Adam Ciarcinski
Date: 2017-07-03 13:10:41
Message id: 20170703111042.0CD1FFAE8@cvs.NetBSD.org
Log Message:
Changes 1.11.3:
Bugfixes
Removed an incorrect deprecation warning about a missing renderer argument if a \
Widget.render() method accepts **kwargs.
Fixed a regression causing Model.__init__() to crash if a field has an instance \
only descriptor.
Fixed an incorrect DisallowedModelAdminLookup exception when using a nested \
reverse relation in list_filter.
Fixed adminâs FieldListFilter.get_queryset() crash on invalid input.
Fixed invalid HTML for a required AdminFileWidget.
Fixed model initialization to set the name of class-based model indexes for \
models that only inherit models.Model.
Fixed crash in adminâs inlines when a model has an inherited non-editable \
primary key.
Fixed QuerySet.union(), intersection(), and difference() when combining with an \
EmptyQuerySet.
Prevented Paginatorâs unordered object list warning from evaluating a QuerySet.
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).
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.
Removed casting of the option value to a string in the template context of the \
CheckboxSelectMultiple, NullBooleanSelect, RadioSelect, SelectMultiple, and \
Select widgets. 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.
Prevented a primary key alteration from adding a foreign key constraint if \
db_constraint=False.
Fixed UnboundLocalError crash in RenameField with nonexistent field.
Fixed a regression preventing a model fieldâs limit_choices_to from being \
evaluated when a ModelForm is instantiated.
Files: