... ... but-often-used utility class used for lazily wrapping other objects of unknown type. In Django 1.1 and earlier, it handled introspection in a non-standard way, depending on wrapped objects implementing a public method named get_all_members() . Since this coul ... d easily lead to name clashes, it has been changed to use the standard Python introspection method, involving __members__ and __dir__() . If you used LazyObject in your own code and implemented the get_all_members( ... for wrapped objects, you'll need to make a couple of changes: First, if your class does not have special requirements for introspection (i.e., you have not implemented __getattr__() or other methods that allow for attributes not discoverable by normal mechan ... ... ct_related() and model inheritance ( #21413 ). Fixed join promotion for negated AND conditions ( #21748 ). Oracle database introspection now works with boolean and float fields ( #19884 ). Fixed an issue where lazy objects weren't actually marked as safe when ... ... upport of Oracle databases, including pagination support for GIS QuerySets, more efficient slicing of results and improved introspection of existing databases. Several fixes for query support in the Django object-relational mapper, including repeated setting ... ... rib.auth.authenticate() when multiple authentication backends don't accept a positional request argument ( #28207 ). Fixed introspection of index field ordering on PostgreSQL ( #28197 ). Fixed a regression where Model._state.adding wasn't set correctly on mul ... ... 625 ). Fixed a crash with QuerySet.update() on foreign keys to instances with uuid primary keys ( #24611 ). Fixed database introspection with SQLite 3.8.9 (released April 8, 2015) ( #24637 ). Updated urlpatterns examples generated by startproject to remove us ... ... rable constraints. These checks aren't implemented for older versions of SQLite because they would require expensive table introspection there. DiscoverRunner now skips the setup of databases not referenced by tests . URL The new ResolverMatch.route attribute ... while inserting or set DatabaseFeatures.supports_ignore_conflicts to False . Third party database backends must implement introspection for DurationField or set DatabaseFeatures.can_introspect_duration_field to False . DatabaseFeatures.uses_savepoints now de ... se backends must implement support for partial indexes or set DatabaseFeatures.supports_partial_indexes to False . DatabaseIntrospection.table_name_converter() and column_name_converter() are removed. Third party database backends may need to instead implemen ... ... upported database backends. Both fields support the use of custom JSON encoders and decoders. The model field supports the introspection, lookups, and transforms that were previously PostgreSQL-only: from django.db import models class ContactInfo ( models . M ... e not supported, set DatabaseFeatures.supports_json_field_contains to False . Third party database backends must implement introspection for JSONField or set can_introspect_json_field to False . Dropped support for MariaDB 10.1 Upstream support for MariaDB 10 ... ... import BaseDatabaseCreation from django.db.backends.base.features import BaseDatabaseFeatures from django.db.backends.base.introspection import BaseDatabaseIntrospection from django.db.backends.base.introspection import FieldInfo , TableInfo from django.db.ba ... 2026年10月08日