summaryrefslogtreecommitdiff
path: root/tests/introspection
AgeCommit message (Collapse)Author
2021-02-17[3.2.x] Fixed #32453 -- Added introspection of unique constraint field ↵Hannes Ljungberg
ordering on SQLite. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Backport of 4d99375b46ad03fa4b4795319973046f438328c8 from master
2020-10-20Fixed #32120 -- Added DatabaseFeatures.indexes_foreign_keys.Tim Graham
2020-06-04Refs #31630 -- Added CharField and IntegerField to ↵Tim Graham
DatabaseFeatures.introspected_field_types. CockroachDB introspects CharField as TextField and IntegerField as BigIntegerField.
2020-06-04Refs #31630 -- Removed DatabaseFeatures.can_introspect_autofield.Tim Graham
2020-06-04Fixed #31630 -- Replaced introspection features with ↵Hasan Ramezani
DatabaseFeatures.introspected_field_types.
2020-04-15Removed unused __str__() methods in tests models.Author: Mads Jensen
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2019-08-26Refs #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-12Refs #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-02Fixed #30661 -- Added models.SmallAutoField.Nick Pope
2019-07-19Fixed #30593 -- Added support for check constraints on MariaDB 10.2+.Hasan Ramezani
2019-03-13Fixed #30183 -- Added introspection of inline SQLite constraints.Paveł Tyślacki
2019-01-23Fixed #30123 -- Removed tuple support in DatabaseIntrospection.get_field_type().Nick Pope
Support for returning tuples was undocumented and error prone.
2019-01-09Refs #23748 -- Added AutoField introspection for SQLite.Nick Pope
2019-01-02Used 4 space hanging indent for dictionaries.Tim Graham
Thanks Mariusz Felisiak for auditing.
2018-12-27Followed style guide for model attribute ordering.Matt Wiens
2018-10-21Fixed #29870 -- Added DurationField introspection for Oracle and PostgreSQL.Mariusz Felisiak
Thanks Tim Graham for the review.
2018-03-16Removed DatabaseFeatures.can_introspect_null.Tim Graham
The only known usage is in the unmaintained django-pymssql project.
2018-01-27Fixed #29004 -- Added inspectdb --include-views option.bquinn
2017-12-06Fixed #28893 -- Removed unnecessary dict.items() calls.Tim Graham
2017-09-27Added cleanup for an introspection test.Tim Graham
2017-09-22Refs #27098 -- Removed DatabaseIntrospection.get_indexes() per deprecation ↵Tim Graham
timeline.
2017-09-13Refs #27090 -- Added real database sequence introspection.Mariusz Felisiak
Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the review.
2017-05-15Fixed #28197 -- Fixed introspection of index field ordering on PostgreSQL.Tim Schneider
2017-02-15Fixed #27135 -- Made index introspection return Index.suffix.Tim Graham
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-12-19Refs #19884 -- Removed DatabaseFeatures.can_introspect_max_length.Mariusz Felisiak
Unused (always True) after 3e43d24ad36d45cace57e6a7efd34638577ae744.
2016-12-19Refs #19884 -- Added CharField max_length introspection on Oracle.Mariusz Felisiak
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-11-06Fixed #27372 -- Fixed introspection of SQLite foreign keys with spaces in DDL.Saulius Žemaitaitis
Thanks samuller for the report and initial patch.
2016-09-12Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexesClaude Paroz
Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query. Thanks Tim Graham for the review.
2016-09-09Refs #25415 -- Fixed invalid models in the test suite.Adam Chainz
2016-09-02Fixed #27097 -- Added index type introspection to built-in db backends.Akshesh
2016-08-30Refs #27097, #27098 -- Moved PostgreSQL index type introspection to ↵Akshesh
get_constraints().
2016-08-20Fixed #27096 -- Fixed primary key introspection for sqlite3 backendClaude Paroz
2016-08-12Refs #27030 -- Added index type introspection on PostgreSQL.Akshesh
2016-08-12Refs #20888 -- Added index order introspection.Akshesh
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-03-02Fixed #26304 -- Ignored unmanaged through model in table introspection.Matthew Schinckel
2015-12-25Fixed #14286 -- Added models.BigAutoField.Alexander Sosnovskiy
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-02-06Fixed E265 comment styleCollin Anderson
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-12Fixed #17785 -- Preferred column names in get_relations introspectionClaude Paroz
Thanks Thomas Güttler for the report and the initial patch, and Tim Graham for the review.
2015-01-10Introspected alternate SQLite FK definitionsClaude Paroz
2015-01-10Updated introspection test to use skipUnlessDBFeatureClaude Paroz
2014-12-06Refs #23947 -- Fixed introspection test that had a side effect.Diego Guimarães