| Age | Commit message (Collapse) | Author |
|
insufficient.
Thanks gasman for the tests, and codingjoe and timgraham for the review.
Backport of 231b513926f2bfd71f08058ce5013bd81678ac01 from master.
|
|
three way merge.
Delaying merging assets as long as possible avoids introducing
incorrect relative orderings that cause a broken final result.
Backport of 959d0c078a1c903cd1e4850932be77c4f0d2294d from master.
|
|
Thanks Mariusz Felisiak for auditing.
|
|
uses to_field.
|
|
|
|
|
|
treating data={} as unbound.
|
|
FilePathField with os.scandir().
|
|
|
|
error message.
|
|
list" crash.
|
|
|
|
COUNT is more expensive than EXISTS; use the latter when possible.
|
|
Instead of loading all QuerySet results in memory, count the number of
entries. This adds an extra query when list() or tuple() is called on the
choices (because both call __len__() then __iter__()) but uses less
memory since the QuerySet results won't be cached. In most cases, the
choices will only be iterated on, meaning that __len__() won't be called
and only one query will be executed.
|
|
|
|
|
|
choice widgets.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
|
|
|
|
|
|
CheckboxSelectMultiple with MultiWidget.
|
|
|
|
When __len__() is called (e.g. when casting to list or tuple), the
QuerySet is evaluated and the result cache populated. iterator()
shouldn't be called on the QuerySet after that, as it would reset the
result cache and trigger a second query.
|
|
manager.
Removing all() in __iter__() prevents a duplicate query when choices are
cast to a list and there's a prefetch_related().
|
|
|
|
use_required_attribute arguments conflict.
|
|
docstring.
|
|
attribute is added by JavaScript.
Thanks Tim Graham for the initial patch.
|
|
SelectDateWidget.format_value().
|
|
|
|
syntax.
|
|
The microseconds are already truncated by the TimeInput subwidget.
|
|
make_aware()/naive.
|
|
continue statements.
|
|
|
|
|
|
Thanks avalanchy for the initial patch.
|
|
|
|
|
|
DecimalField.widget_attrs() to improve performance.
|
|
|
|
|
|
|
|
|
|
|
|
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
|
|
|
|
|
|
|
|
raised OverflowError.
|
|
renderer argument.
Per deprecation timeline.
|