summaryrefslogtreecommitdiff
path: root/tests/inspectdb
AgeCommit message (Collapse)Author
2020-10-16Optimized inspectdb tests by specifying database tables/views.Nick Pope
2020-10-06Fixed #32073 -- Skipped collation tests on PostgreSQL < 10.Mariusz Felisiak
PostgreSQL < 10 doesn't support ICU collations. Thanks Hannes Ljungberg for the report.
2020-09-21Fixed #31777 -- Added support for database collations to Char/TextFields.Tom Carrick
Thanks Simon Charette and Mariusz Felisiak for reviews.
2020-06-23Fixed #31736 -- Fixed InspectDBTransactionalTests.test_foreign_data_wrapper ↵Ahmad A. Hussein
crash on Windows.
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-05-11Refs #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-08Fixed #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-19Fixed #30987 -- Added models.PositiveBigIntegerField.Caio Ariede
2019-05-24Used re.Pattern.findall() instead of re.findall() in inspectdb.tests.Jon Dufresne
2019-04-25Fixed #30388 -- Made inspectdb generate OneToOneFields rather than ↵Ville Skyttä
ForeignKey(unique/primary_key=True).
2018-12-24Refs #29004 -- Prevented inspectdb tests from flushing all tables data.Simon Charette
This is a costly operation on most database backends.
2018-11-26Refs #29722 -- Added introspection of materialized views for Oracle.Mariusz Felisiak
Thanks Tim Graham for the review.
2018-11-21Fixed #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-19Refs #29722 -- Added introspection of partitions for PostgreSQL.Nick Pope
2018-10-09Capitalized "Python" in docs and comments.Jon Dufresne
2018-10-02Refs #29722 -- Added introspection of materialized views for PostgreSQL.Nick Pope
2018-10-02Fixed #29719 -- Added introspection of foreign tables for PostgreSQL.Nick Pope
Thanks infinite-l00p for the initial patch.
2018-03-21Fixed #27533 -- Fixed inspectdb crash if a unique constraint uses an ↵Michael Sinov
unsupported type.
2018-03-21Fixed too many parentheses in inspectdb Meta.unique_together output.Tim Graham
Regression in c76d87427d70f6c91ab855ed688828aa982720d2.
2018-03-20Refs #29227 -- Made inspectdb generate BooleanField(null=True) rather than ↵Tim Graham
NullBooleanField.
2018-03-20Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2018-03-16Removed DatabaseFeatures.can_introspect_null.Tim Graham
The only known usage is in the unmaintained django-pymssql project.
2018-03-12Refs #29004 -- Optimized InspectDBTransactionalTests.test_include_views() by ↵Mariusz Felisiak
limiting introspected tables.
2018-03-12Added functions for inspectdb table filtering in tests.Tim Graham
2018-01-27Fixed #29004 -- Added inspectdb --include-views option.bquinn
2018-01-03Fixed #28984 -- Made assorted code simplifications.Tim Graham
2017-01-24Removed unneeded force_text calls in the test suiteClaude Paroz
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-19Fixed spelling mistakes in code and comments.james mike dupont
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #26154 -- Removed deprecated CommaSeparatedIntegerField.Tim Graham
2017-01-07Fixed #27700 -- Optimized inspectdb tests by specifying database tables.Mariusz Felisiak
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-07-20Refs #24928 -- Added introspection support for UUIDFieldClaude Paroz
2016-03-18Fixed #25658 -- Allowed inspectdb to inspect a specific set of tables.José Tomás Tocino
2016-02-25Fixed #14098 -- Prevented crash for introspection errors in inspectdbClaude Paroz
Thanks Tim Graham for the review.
2015-11-25Fixed #25274 --- Made inspectdb handle renamed fields in unique_together.Jacek Bzdak
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-01-19Removed IPAddressField per deprecation timeline; refs #20439.Tim Graham
2015-01-01Fixed #23891 -- Moved deprecation of IPAddressField to system check framework.Tim Graham
Thanks Markus Holtermann for review.
2014-12-30Applied ignore_warnings to Django testsClaude Paroz
2014-10-20Fixed #23679 -- Fixed null introspection for char/text fieldsClaude Paroz
Thanks Paul Dejean for the report.
2014-09-27Fixed #22738 -- made finer distinctions for when Boolean is not detected on ↵Shai Berger
Oracle Thanks Claude Paroz for partial fix and Simon Charrette for review