summaryrefslogtreecommitdiff
path: root/tests/invalid_models_tests/test_models.py
AgeCommit message (Expand)Author
2025-12-16Fixed #36594 -- Improved UniqueConstraint's nulls_distinct system check message.Mridul Dhall
2025-10-18Fixed #21961 -- Added support for database-level delete options for ForeignKey.Mariusz Felisiak
2025-10-13Fixed #36611, Refs #36580 -- Added system check for multicolumn ForeignObject...Sarah Boyce
2025-10-13Fixed #36660 -- Fixed a regression in descending Index local field checks.Simon Charette
2025-05-14Fixed #36273 -- Moved Index system checks from Model to Index.check().Tim Graham
2024-12-17Fixed #35992, Fixed #35997 -- Added system check for CompositePrimaryKeys in ...Mariusz Felisiak
2024-03-17Fixed #35301 -- Fixed Options._property_names for overriden properties.Adam Johnson
2024-03-01Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.Simon Charette
2024-02-21Refs #30913 -- Corrected IndexesTests.test_index_include_pointing_to_fk().Simon Charette
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2023-09-18Refs #27236 -- Removed Meta.index_together per deprecation timeline.Mariusz Felisiak
2023-07-19Fixed #34701 -- Added support for NULLS [NOT] DISTINCT on PostgreSQL 15+.Simon Charette
2023-06-20Fixed #34634 -- Adjusted system check for clashing fields to warn about links...Akash Kumar Sen
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2022-12-28Fixed #18468 -- Added support for comments on columns and tables.kimsoungryoul
2022-07-12Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes.David Wobrock
2022-05-10Fixed #30581 -- Added support for Meta.constraints validation.Gagaro
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
2021-07-26Fixed #32947 -- Fixed hash() crash on reverse M2M relation when through_field...Tom Wojcik
2021-07-15Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.db....Daniyal
2021-06-15Fixed #30427, Fixed #16176 -- Corrected setting descriptor in Field.contribut...Carlton Gibson
2021-04-14Fixed #32635 -- Fixed system check crash for reverse o2o relations in CheckCo...Hasan Ramezani
2021-04-14Refs #31530 -- Added test for joined OneToOneField in CheckConstraint.checkHasan Ramezani
2021-02-23Fixed #30916 -- Added support for functional unique constraints.Hannes Ljungberg
2021-01-14Fixed #32321 -- Added system checks for invalid model field names in function...Hasan Ramezani
2021-01-13Fixed #26167 -- Added support for functional indexes.Hannes Ljungberg
2020-07-06Fixed #31530 -- Added system checks for invalid model field names in CheckCon...Hasan Ramezani
2020-06-04Refs #30913 -- Added system checks for covering indexes and unique constraint...Mariusz Felisiak
2020-06-04Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+.Hannes Ljungberg
2020-05-20Fixed #31410 -- Added system checks for invalid model field names in UniqueCo...Hasan Ramezani
2020-05-08Fixed #12990, Refs #27694 -- Added JSONField model field.sage
2020-05-05Fixed #31538 -- Fixed Meta.ordering validation lookups that are not transforms.Mariusz Felisiak
2020-04-30Fixed #20581 -- Added support for deferrable unique constraints.Ian Foote
2020-04-10Fixed #31351 -- Added system checks for partial indexes and unique constraint...Ichlasul Affan
2020-04-10Refs #31055 -- Allowed database queries in invalid_models_tests.test_models.F...Mariusz Felisiak
2020-03-18Removed redundant get_max_column_name_length() calls in invalid_models_tests....Mariusz Felisiak
2020-03-18Refs #31055 -- Made long column names checks support databases aware.Mariusz Felisiak
2020-02-17Fixed #31277 -- Relaxed system check of m2m intermediary tables for db_table ...Xavier Francisco
2020-02-08Refs #31055 -- Fixed Model.check() call in ConstraintsTests.test_check_constr...Mariusz Felisiak
2020-02-07Fixed #31055 -- Made constraint checks support databases aware.Simon Charette
2020-01-16Fixed #29998 -- Allowed multiple OneToOneFields to the parent model.Mariusz Felisiak
2019-09-27Fixed #30798 -- Fixed Meta.ordering validation for pk of related fields.Hasan Ramezani
2019-09-27Refs #30798 -- Prevented chaining fields from the same related model multiple...Hasan Ramezani
2019-08-12Refs #11964 -- Made constraint support check respect required_db_features.Simon Charette
2019-07-05Fixed #30613 -- Moved index name validation to system checks.can
2019-05-01Fixed #30409 -- Allowed using foreign key's attnames in unique/index_together...zeyneloz
2019-03-01Refs #29408 -- Cosmetic edits for validation of related fields and lookups in...Mariusz Felisiak
2019-03-01Fixed #29408 -- Added validation of related fields and lookups in model Meta....Hasan Ramezani