summaryrefslogtreecommitdiff
path: root/tests/check_framework/test_model_checks.py
AgeCommit message (Collapse)Author
2025-09-05Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField.Tim Graham
2024-03-01Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.Simon Charette
Once the deprecation period ends CheckConstraint.check() can become the documented method that performs system checks for BaseConstraint subclasses.
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-06-22Fixed #32863 -- Skipped system check for specifying type of auto-created ↵Hasan Ramezani
primary keys on models with invalid app_label. Regression in b5e12d490af3debca8c55ab3c1698189fdedbbdb. Thanks Iuri de Silvio for the report.
2021-05-18Fixed #32733 -- Skipped system check for specifying type of auto-created ↵Rust Saiargaliev
primary keys on abstract models. Regression in b5e12d490af3debca8c55ab3c1698189fdedbbdb.
2021-05-18Refs #31007 -- Added test for check for specifying type of auto-created ↵Rust Saiargaliev
primary keys from abstract models.
2021-01-21Fixed #32367 -- Fixed system check for specifying type of auto-created ↵Mariusz Felisiak
primary keys for inherited PKs. Regression in b5e12d490af3debca8c55ab3c1698189fdedbbdb. Thanks אורי for the report.
2020-12-15Fixed #31007 -- Allowed specifying type of auto-created primary keys.Tom Forbes
This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField.
2020-06-03Preferred usage of among/while to amongst/whilst.David Smith
2019-08-08Fixed #30673 -- Relaxed system check for db_table collision when database ↵Adnan Umer
routers are installed by turning the error into a warning.
2019-07-08Fixed #30397 -- Added app_label/class interpolation for names of indexes and ↵can
constraints.
2019-05-02Fixed #30396 -- Added system checks for uniqueness of indexes and ↵can
constraints names. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2018-12-24Fixed #20098 -- Added a check for model Meta.db_table collisions.Sanyam Khurana