| Age | Commit message (Collapse) | Author |
|
is a model instance.
Thanks Carlton Gibson for reviews.
Backport of e7cdb0cd7eb5eb677af8dae7bfc6845186f861b0 from master
|
|
error messages.
Backport of a28d1b38e55cf588cfaae97de6a575d5c9f90a96 from master
|
|
|
|
Thanks Claude Paroz for assistance with translations.
|
|
USE_L10N is disabled.
|
|
|
|
|
|
placeholder is required for "select" with "required" attribute.
|
|
|
|
|
|
is passed.
|
|
|
|
|
|
Thanks gasman for the tests, and codingjoe and timgraham for the review.
|
|
Delaying merging assets as long as possible avoids introducing
incorrect relative orderings that cause a broken final result.
|
|
|
|
Dicts preserve order since Python 3.6.
|
|
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.
|
|
|
|
|