| Age | Commit message (Collapse) | Author |
|
Previously, it was a QuerySet which could reevaluate to a new value if the
model's data changes. This is inconsistent with other Field.value_from_object()
methods.
This allows reverting the fix in the admin for refs #27998.
|
|
|
|
|
|
field_for_model() now has an additional keyword argument,
apply_limit_choices_to, allowing it to continue to be used to create
form fields dynamically after ModelForm.__init__() is called.
Thanks Tim Graham for the review.
|
|
|
|
|
|
iter(dict) is equivalent to iter(dict.keys()).
|
|
|
|
Regression in 9153d8fbd6385db9f48793662de789fc3d686841.
|
|
|
|
queryset cache.
Thanks Luke Benstead for the report Simon Charettes for the fix.
|
|
|
|
|
|
widget rendering.
|
|
|
|
These functions do nothing on Python 3.
|
|
|
|
|
|
Thanks Tim Graham for the review.
|
|
Thanks Tim Graham and Simon Charette for the reviews.
|
|
|
|
|
|
|
|
non-empty first value.
|
|
Thanks Carl Meyer and Tim Graham for contributing to the patch.
|
|
|
|
fields_for_model().
|
|
|
|
instances.
|
|
|
|
|
|
FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget.
Thanks Matt Westcott for the review.
|
|
boolean syntax.
|
|
http://bugs.python.org/issue27364
|
|
|
|
|
|
|
|
|
|
|
|
RadioSelect.
|
|
|
|
Partially reverted refs #25532 to fix a regression in Django 1.10.
This reintroduces a crash for disabled forms.JSONField (refs #26949),
however, that issue is also present on Django 1.9.
Thanks Ryan Schave for the test.
|
|
Follow up to 67d984413c9540074e4fe6aa033081a35cf192bc.
|
|
Also removed try/except/fail antipattern that hides exceptions.
|
|
ModelChoiceIterator.
Regression in 86573861a95e5a47dc7ff906443117d75b73dca1
|
|
|
|
Previously, empty values were saved as strings.
|
|
|
|
|
|
fields.
|