| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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-10-31 | Fixed #36661 -- Added introspection of database-level delete options. | Mariusz Felisiak | |
| 2025-09-05 | Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField. | Tim Graham | |
| 2025-07-23 | Refs #36500 -- Shortened some long docstrings and comments. | Mike Edmunds | |
| Manually reformatted some long docstrings and comments that would be damaged by the to-be-applied autofixer script, in cases where editorial judgment seemed necessary for style or wording changes. | |||
| 2023-02-01 | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | |||
| 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-08 | Made inspectdb used Cursor.description.display_size for CharFields' max_length. | Mariusz Felisiak | |
| internal_size is size for fixed-size types not for char types. | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-11-15 | Fixed #33288 -- Made SQLite introspection use information schema for relations. | Simon Charette | |
| Previous solution was using brittle and complex parsing rules to extract them from the SQL used to define the tables. Removed a now unnecessary unit test that ensured the removed parsing logic accounted for optional spacing. | |||
| 2021-11-10 | Removed DatabaseIntrospection.get_key_columns(). | Mariusz Felisiak | |
| Thanks Simon Charette for the report. | |||
| 2021-02-17 | Fixed #32453 -- Added introspection of unique constraint field ordering on ↵ | Hannes Ljungberg | |
| SQLite. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-10-20 | Fixed #32120 -- Added DatabaseFeatures.indexes_foreign_keys. | Tim Graham | |
| 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-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 2019-08-26 | Refs #30591 -- Fixed introspection of check and unique column constraints on ↵ | Mariusz Felisiak | |
| MariaDB. Unnamed unique and check columns constraints have the same name as a column. Ensure uniqueness by using custom names. Thanks Adnan Umer for the report. | |||
| 2019-08-12 | Refs #11964 -- Made constraint support check respect required_db_features. | Simon Charette | |
| This will notably silence the warnings issued when running the test suite on MySQL. | |||
| 2019-08-02 | Fixed #30661 -- Added models.SmallAutoField. | Nick Pope | |
| 2019-07-19 | Fixed #30593 -- Added support for check constraints on MariaDB 10.2+. | Hasan Ramezani | |
| 2019-03-13 | Fixed #30183 -- Added introspection of inline SQLite constraints. | Paveł Tyślacki | |
| 2019-01-23 | Fixed #30123 -- Removed tuple support in DatabaseIntrospection.get_field_type(). | Nick Pope | |
| Support for returning tuples was undocumented and error prone. | |||
| 2019-01-09 | Refs #23748 -- Added AutoField introspection for SQLite. | Nick Pope | |
| 2019-01-02 | Used 4 space hanging indent for dictionaries. | Tim Graham | |
| Thanks Mariusz Felisiak for auditing. | |||
| 2018-10-21 | Fixed #29870 -- Added DurationField introspection for Oracle and PostgreSQL. | Mariusz Felisiak | |
| Thanks Tim Graham for the review. | |||
| 2018-03-16 | Removed DatabaseFeatures.can_introspect_null. | Tim Graham | |
| The only known usage is in the unmaintained django-pymssql project. | |||
| 2018-01-27 | Fixed #29004 -- Added inspectdb --include-views option. | bquinn | |
| 2017-12-06 | Fixed #28893 -- Removed unnecessary dict.items() calls. | Tim Graham | |
| 2017-09-27 | Added cleanup for an introspection test. | Tim Graham | |
| 2017-09-22 | Refs #27098 -- Removed DatabaseIntrospection.get_indexes() per deprecation ↵ | Tim Graham | |
| timeline. | |||
| 2017-09-13 | Refs #27090 -- Added real database sequence introspection. | Mariusz Felisiak | |
| Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the review. | |||
| 2017-05-15 | Fixed #28197 -- Fixed introspection of index field ordering on PostgreSQL. | Tim Schneider | |
| 2017-02-15 | Fixed #27135 -- Made index introspection return Index.suffix. | Tim Graham | |
| 2017-01-20 | Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. | Tim Graham | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-12-19 | Refs #19884 -- Removed DatabaseFeatures.can_introspect_max_length. | Mariusz Felisiak | |
| Unused (always True) after 3e43d24ad36d45cace57e6a7efd34638577ae744. | |||
| 2016-12-19 | Refs #19884 -- Added CharField max_length introspection on Oracle. | Mariusz Felisiak | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-11-06 | Fixed #27372 -- Fixed introspection of SQLite foreign keys with spaces in DDL. | Saulius Žemaitaitis | |
| Thanks samuller for the report and initial patch. | |||
| 2016-09-12 | Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexes | Claude Paroz | |
| Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query. Thanks Tim Graham for the review. | |||
| 2016-09-02 | Fixed #27097 -- Added index type introspection to built-in db backends. | Akshesh | |
| 2016-08-30 | Refs #27097, #27098 -- Moved PostgreSQL index type introspection to ↵ | Akshesh | |
| get_constraints(). | |||
| 2016-08-20 | Fixed #27096 -- Fixed primary key introspection for sqlite3 backend | Claude Paroz | |
| 2016-08-12 | Refs #27030 -- Added index type introspection on PostgreSQL. | Akshesh | |
| 2016-08-12 | Refs #20888 -- Added index order introspection. | Akshesh | |
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-03-02 | Fixed #26304 -- Ignored unmanaged through model in table introspection. | Matthew Schinckel | |
| 2015-12-25 | Fixed #14286 -- Added models.BigAutoField. | Alexander Sosnovskiy | |
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-02-06 | Fixed E265 comment style | Collin Anderson | |
