summaryrefslogtreecommitdiff
path: root/tests/introspection
AgeCommit message (Collapse)Author
2019-03-15[2.2.x] Fixed #30183 -- Added introspection of inline SQLite constraints.Paveł Tyślacki
Backport of 782d85b6dfa191e67c0f1d572641d8236c79174c from master.
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
2014-12-03Fixed #20392 -- Added TestCase.setUpTestData()Thomas Chaumeny
Each TestCase is also now wrapped in a class-wide transaction.
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-09-29Fixed flake8 warnings.Tim Graham
2014-09-29Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.Thomas Chaumeny
Thanks Collin Anderson for the review.
2014-09-24Changed Oracle test-user creation to grant privileges instead of rolesShai Berger
because the roles (specifically RESOURCE) are deprecated. Also added optional support for creating views in tests, and made an introspection test fail (rather than skip) if a view cannot be created due to lacking privileges. Refs #18782 Thanks Tim Graham for review, and Josh Smeaton
2014-09-23Fixed #18782 -- Prevented sql_flush to flush viewsClaude Paroz
Thanks rodolfo_3 for the report and the initial patch, and Josh Smeaton, Shai Berger and Tim Graham for the reviews.
2014-08-27Fixed #23357 -- Added small int introspection support to MySQL backend.Jon Dufresne
In the MySQL backend, updated the can_introspect_small_integer feature flag to True. In data_types_reverse, map FIELD_TYPE.SHORT to a SmallIntegerField. Added test to verify introspecting SmallIntegerFields and fixed existing tests influenced by this change.
2014-07-10Fixed #22988 -- Adjusted an introspection test assertion.Josh Smeaton
Also changed test to use assertNotIn.
2014-07-04Fixed #20631 -- Increased the default EmailField max_length to 254.Tim Graham
Thanks pmartin for the report.
2014-06-14Fixed #22816 -- Corrected Oracle feature flag and fixed introspection testShai Berger
2014-06-05Added a flag for the ability to introspect nullable fields.Aymeric Augustin
Previously this was conflated with another Oracle-specific behavior.
2014-05-10Adjusted refactoring of vendor checks.Aymeric Augustin
Thanks Shai for the thorough review.