... he technical 404 debug page ( #32637 ). Fixed a bug in Django 3.2 where a system check would crash on a reverse one-to-one relationships in CheckConstraint.check or UniqueConstraint.condition ( #32635 ). Fixed a regression in Django 3.2 that caused a crash of ... en used with subqueries that began manifesting in Django 3.2, due to a separate fix using Exists to exclude() multi-valued relationships ( #32650 ). Fixed a bug in Django 3.2 where variable lookup errors were logged when rendering some admin templates ( #3268 ... 1 ). Fixed a bug in Django 3.2 where an admin changelist would crash when deleting objects filtered against multi-valued relationships ( #32682 ). The admin changelist now uses Exists() instead of QuerySet.distinct() because calling delete() after distinct( ... ... , supports filtering of displayed lists of objects by fields on the corresponding models, including across database-level relationships. This is implemented by passing lookup arguments in the querystring portion of the URL, and options on the ModelAdmin clas ... s allow developers to specify particular fields or relationships which will generate automatic links for filtering. One historically-undocumented and -unofficially-supported feature has b ... ... , supports filtering of displayed lists of objects by fields on the corresponding models, including across database-level relationships. This is implemented by passing lookup arguments in the querystring portion of the URL, and options on the ModelAdmin clas ... s allow developers to specify particular fields or relationships which will generate automatic links for filtering. One historically-undocumented and -unofficially-supported feature has b ... ... () in makemigrations migration consistency checks ( #27461 ). Made Model.delete(keep_parents=True) preserve parent reverse relationships in multi-table inheritance ( #27407 ). Fixed a QuerySet.update() crash on SQLite when updating a DateTimeField with an F() ... ... ion, as the **options argument. バグ修正 Fixed a regression in Django 4.0 that caused ignoring multiple FilteredRelation() relationships to the same field ( #33598 ). Fixed a regression in Django 3.2.4 that caused the auto-reloader to no longer detect changes ... ... . Fixed a regression in Django 6.1 where custom querysets used with Prefetch for forward foreign key or reverse one-to-one relationships were not routed using the parent queryset's database ( #37300 ). Fixed a regression in Django 6.1 where HTML-safe strings, ... ... odel instances on backends, such as PostgreSQL, that support returning the IDs of the created records so that many-to-many relationships can be used on the new objects ( #27026 ). Fixed crash of django.views.static.serve() with show_indexes enabled ( #26973 ) ... ... he fields.E348 system check did not detect name clashes between model managers and related_name s for non-self-referential relationships ( #36973 ). ... ... ョン) Django copies the fetch mode of an instance to any related objects it fetches, so the mode applies to a whole tree of relationships, not just the top-level model in the initial QuerySet . This copying is also done in related managers, even though fetch m ... ... egins to be evaluated. Unlike select_related , it does the joins in Python, not in the database, and supports many-to-many relationships, GenericForeignKey and more. This allows you to fix a very common performance problem in which your code ends up doing O(n ... ines respect user permissions Admin inlines now only allow those actions for which the user has permission. For ManyToMany relationships with an auto-created intermediate model (which does not have its own permissions), the change permission for the related m ... odel determines if the user has the permission to add, change or delete relationships. Tools for cryptographic signing Django 1.4 adds both a low-level API for signing values and a high-level API for setting ... 2026年10月08日