| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-02-09 | Added DatabaseFeatures.supports_inspectdb. | Tim Graham | |
| Needed by MongoDB. | |||
| 2025-11-23 | Refs #21961 -- Added DatabaseFeatures.supports_on_delete_db_(cascade/null) ↵ | Tim Graham | |
| feature flags. Needed on MongoDB. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2025-11-17 | Fixed #24920 -- Added support for DecimalField with no precision. | Mariusz Felisiak | |
| Thanks Lily for the review. | |||
| 2025-10-31 | Fixed #36661 -- Added introspection of database-level delete options. | Mariusz Felisiak | |
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2025-05-06 | Refs #36052, #32234 -- Fixed inspectdb tests for CompositePrimaryKey on Oracle. | Mariusz Felisiak | |
| Tests regression in 4c75858135589f3a00e32eb4d476074536371a32. | |||
| 2025-04-30 | Fixed #36357 -- Skipped unique_together in inspectdb output for composite ↵ | Baptiste Mispelon | |
| primary keys. Thanks to Baptiste Mispelon for the report and quick fix, and to Simon Charette and Jacob Walls for the reviews. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2025-04-30 | Fixed #36358 -- Corrected introspection of composite primary keys on SQLite. | Simon Charette | |
| Previously, any first field of a composite primary key with type `INTEGER` was incorrectly introspected as an `AutoField` due to SQLite treating `INTEGER PRIMARY KEY` as an alias for the `ROWID`. This change ensures that integer fields in composite PKs are not mistaken for auto-incrementing fields. Thanks Jacob Walls and Sarah Boyce for the reviews. | |||
| 2025-04-30 | Refs #36052, #32234 -- Removed create_test_table_with_composite_primary_key ↵ | Simon Charette | |
| flag in favor of using CompositePrimaryKey. Now that Django properly supports creating models with composite primary keys, the tests should use a `CompositePrimaryKey` field instead of a feature flag to inline backend specific SQL for creating a composite PK. Specifcially, the inspectdb's test_composite_primary_key was adjusted to use schema editor instead of per-backend raw SQL. | |||
| 2025-04-29 | Used addCleanup() instead of try-finally blocks in inspectdb tests. | Baptiste Mispelon | |
| 2025-01-03 | Fixed #36052 -- Supported CompositePrimaryKey in inspectdb. | Jacob Walls | |
| 2023-08-21 | Fixed #33143 -- Raised RuntimeWarning when performing import-time queries. | Florian Zimmermann | |
| 2023-05-22 | Fixed #34587 -- Allowed customizing table name normalization in inspectdb ↵ | Andrii Kohut | |
| command. | |||
| 2023-03-06 | Refs #34381 -- Fixed InspectDBTransactionalTests.test_foreign_data_wrapper() ↵ | David Smith | |
| on Windows. | |||
| 2022-12-28 | Fixed #14094 -- Added support for unlimited CharField on PostgreSQL. | Adrian Torres | |
| Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2022-12-28 | Fixed #18468 -- Added support for comments on columns and tables. | kimsoungryoul | |
| Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz Felisiak for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2022-12-12 | Refs #33308 -- Added DatabaseOperations.compose_sql() on PostgreSQL. | Florian Apolloner | |
| 2022-07-06 | Fixed #33823 -- Made inspectdb generate unique related_name when reverse ↵ | Vladimir Kochetkov | |
| accessor clashes. | |||
| 2022-06-01 | Refs #32234 -- Removed hardcoded IntegerField in inspectdb test. | Tim Graham | |
| 2022-06-01 | Fixed #32234 -- Made inspectdb inform about composite primary keys. | Anv3sh | |
| 2022-04-16 | Fixed #33643 -- Fixed inspectdb crash on functional unique constraints on ↵ | Scott | |
| Oracle. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-12-09 | Fixed inspectdb.tests.InspectDBTestCase.test_custom_fields() on SQLite 3.37+. | Mariusz Felisiak | |
| Use FlexibleFieldLookupDict which is case-insensitive mapping because SQLite 3.37+ returns some data type names upper-cased e.g. TEXT. | |||
| 2021-11-02 | Fixed #33187 -- Made inspectdb handle ForeignKey.to_field attribute. | jordan.bae | |
| 2021-01-19 | Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3. | Mariusz Felisiak | |
| 2020-10-16 | Optimized inspectdb tests by specifying database tables/views. | Nick Pope | |
| 2020-10-06 | Fixed #32073 -- Skipped collation tests on PostgreSQL < 10. | Mariusz Felisiak | |
| PostgreSQL < 10 doesn't support ICU collations. Thanks Hannes Ljungberg for the report. | |||
| 2020-09-21 | Fixed #31777 -- Added support for database collations to Char/TextFields. | Tom Carrick | |
| Thanks Simon Charette and Mariusz Felisiak for reviews. | |||
| 2020-06-23 | Fixed #31736 -- Fixed InspectDBTransactionalTests.test_foreign_data_wrapper ↵ | Ahmad A. Hussein | |
| crash on Windows. | |||
| 2020-06-04 | Refs #31630 -- Added CharField and IntegerField to ↵ | Tim Graham | |
| DatabaseFeatures.introspected_field_types. CockroachDB introspects CharField as TextField and IntegerField as BigIntegerField. | |||
| 2020-06-04 | Refs #31630 -- Removed DatabaseFeatures.can_introspect_autofield. | Tim Graham | |
| 2020-06-04 | Fixed #31630 -- Replaced introspection features with ↵ | Hasan Ramezani | |
| DatabaseFeatures.introspected_field_types. | |||
| 2020-05-11 | Refs #30116 -- Simplified regex match group access with Match.__getitem__(). | Jon Dufresne | |
| The method has been available since Python 3.6. The shorter syntax is also marginally faster. | |||
| 2020-05-08 | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | |
| Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2019-11-19 | Fixed #30987 -- Added models.PositiveBigIntegerField. | Caio Ariede | |
| 2019-05-24 | Used re.Pattern.findall() instead of re.findall() in inspectdb.tests. | Jon Dufresne | |
| 2019-04-25 | Fixed #30388 -- Made inspectdb generate OneToOneFields rather than ↵ | Ville Skyttä | |
| ForeignKey(unique/primary_key=True). | |||
| 2018-12-24 | Refs #29004 -- Prevented inspectdb tests from flushing all tables data. | Simon Charette | |
| This is a costly operation on most database backends. | |||
| 2018-11-26 | Refs #29722 -- Added introspection of materialized views for Oracle. | Mariusz Felisiak | |
| Thanks Tim Graham for the review. | |||
| 2018-11-21 | Fixed #29949 -- Refactored db introspection identifier converters. | Mariusz Felisiak | |
| Removed DatabaseIntrospection.table_name_converter()/column_name_converter() and use instead DatabaseIntrospection.identifier_converter(). Removed DatabaseFeatures.uppercases_column_names. Thanks Tim Graham for the initial patch and review and Simon Charette for the review. | |||
| 2018-11-19 | Refs #29722 -- Added introspection of partitions for PostgreSQL. | Nick Pope | |
| 2018-10-09 | Capitalized "Python" in docs and comments. | Jon Dufresne | |
| 2018-10-02 | Refs #29722 -- Added introspection of materialized views for PostgreSQL. | Nick Pope | |
| 2018-10-02 | Fixed #29719 -- Added introspection of foreign tables for PostgreSQL. | Nick Pope | |
| Thanks infinite-l00p for the initial patch. | |||
| 2018-03-21 | Fixed #27533 -- Fixed inspectdb crash if a unique constraint uses an ↵ | Michael Sinov | |
| unsupported type. | |||
| 2018-03-21 | Fixed too many parentheses in inspectdb Meta.unique_together output. | Tim Graham | |
| Regression in c76d87427d70f6c91ab855ed688828aa982720d2. | |||
| 2018-03-20 | Refs #29227 -- Made inspectdb generate BooleanField(null=True) rather than ↵ | Tim Graham | |
| NullBooleanField. | |||
| 2018-03-20 | Fixed #29227 -- Allowed BooleanField to be null=True. | Tim Graham | |
| Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review. | |||
| 2018-03-16 | Removed DatabaseFeatures.can_introspect_null. | Tim Graham | |
| The only known usage is in the unmaintained django-pymssql project. | |||
