| Age | Commit message (Collapse) | Author |
|
read-only JSONField values in admin.
|
|
The method has been available since Python 3.6. The shorter syntax is
also marginally faster.
|
|
|
|
|
|
deletions while protecting direct ones.
|
|
|
|
Reduced the number of queries required when performing cascade deletion
for a model referenced multiple time by another one by performing an
union of reference lookups.
|
|
instead of field names.
|
|
|
|
|
|
has an extra field.
|
|
has_delete_permission() for permissions checking.
|
|
|
|
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
|
|
|
|
Unused since e12b3199d0c01694ca6b09add5e0f27cadffc8ad.
|
|
continue statements.
|
|
models don't have a delete permission.
|
|
formatted with thousand separators.
|
|
|
|
Thanks Krzysztof Nazarewski for the initial patch.
|
|
|
|
|
|
Model.pk was added after _get_pk_val() and many places weren't simplified.
|
|
Thanks Tim Graham for the review.
|
|
|
|
Thanks Tim Graham for the review.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
|
|
Thanks Tim Graham and Simon Charette for the reviews.
|
|
|
|
|
|
Unused since 8f30556329b64005d63b66859a74752a0b261315.
|
|
|
|
many forward refs.
Thanks Tim Graham for the regression test.
|
|
The smart_* version should only be used when a lazy string should keep
its lazy status.
|
|
display the id.
|
|
|
|
ModelAdmin.readonly_fields.
|
|
Thanks to Tim Graham for the review.
|
|
|
|
|
|
|
|
with a model reverse accessor.
|
|
contrib.admin.utils.quote()
Thanks alito for the report and patch.
|
|
|
|
relations.
This was fixed earlier but only when the M2M relation was at the first
level on the object. This commit fixes the issue even when the M2M is
at deeper levels, such as behind a foreign key.
|