summaryrefslogtreecommitdiff
path: root/tests/invalid_models_tests/test_models.py
AgeCommit message (Expand)Author
2018-11-17Added test for Model._check_column_name_clashes().Hasan Ramezani
2018-10-02Refs #11964 -- Changed CheckConstraint() signature to use keyword-only argume...Simon Charette
2018-08-22Fixed #26352 -- Made system check allow ManyToManyField to target the same mo...Simon Willison
2018-07-10Fixed #11964 -- Added support for database check constraints.Ian Foote
2018-05-03Refs #29358 -- Corrected wording in primary key check message.Carlton Gibson
2018-05-03Fixed #29358 -- Added a system check to prohibit models with more than one pr...Hasan Ramezani
2018-01-12Fixed #28996 -- Simplified some boolean constructs and removed trivial contin...Дилян Палаузов
2018-01-03Fixed #28867 -- Added system check for a model property that clashes with a r...shanghui
2017-12-29Made a few cleanups to invalid_models_tests.test_models.shanghui
2017-12-27Fixed #28714 -- Added system checks for invalid model field names in Meta.ind...hui shang
2017-07-11Made assertions in invalid_models_tests consistent.Adam Johnson
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #26320 -- Removed implicit OneToOnField parent_link per deprecation time...Tim Graham
2016-12-28Fixed #27651 -- Allowed M2M to concrete and proxy through model.Tim Graham
2016-11-22Fixed #27295 -- Added a system check to prohibit model names that start or en...Quentin Fulsher
2016-09-09Fixed #27204 -- Made clashing m2m intermediary table checks ignore unmanaged ...Tim Graham
2016-08-16Moved model_validation tests to invalid_models_tests.Tim Graham
2016-06-10Fixed #12810 -- Added a check for clashing ManyToManyField.db_table names.Berker Peksag
2016-04-22Fixed #26320 -- Deprecated implicit OneToOnField parent_link.Tim Graham
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-02-12Removed unneeded hint=None/obj=None in system check messages.Tim Graham
2016-01-06Fixed #25746 -- Isolated inlined test models registration.Simon Charette
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-08-25Fixed #14217 -- Added validation for field name collision when using model in...sarthakmeh
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...Flavio Curella
2015-07-03Fixed #25055 -- Made m2m long name testing friendlier for 3rd party databases.Michael Manfre
2015-03-22Switched to use assertEqual instead of assertEquals.Berker Peksag
2015-03-21Fixed #24479 -- Added system check to prevent both ordering and order_wrt.Jon Dufresne
2015-02-09Removed unnecessary parentheses in model check messages.Tim Graham
2015-02-09Fixed #24249 -- Improved field shadowing validation in model multi-inheritance.Aron Podrigal
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-07-14Fixed name of database connection featureShai Berger
2014-07-08Added a unit test to ensure models cannot be ordered by a M2M field.Daniel Pyrathon
2014-06-23Fixed problem introduced with #refs 13711.Anubhav Joshi
2014-06-17Fixed #13711 -- Model check added to ensure that auto-generated column name i...Anubhav Joshi
2014-06-01Fixed #22711 -- Adjusted ordering checks to allow implicit relation fields.Vincent-Vega
2014-04-14Fixed #22356 -- Added a check to make sure unique_together fields are local.Marc Egli
2014-03-03Edited model and field checks for grammar and consistency.Russell Keith-Magee
2014-03-03Edited model check messages for grammar and consistency.Russell Keith-Magee
2014-03-01Fixed #22172 -- Allowed index_together to be a single list (rather than list ...Anubhav Joshi
2014-02-10Fixed #17673 -- Forbid field shadowing.Christopher Medrela
2014-01-20Fixed #16905 -- Added extensible checks (nee validation) frameworkRussell Keith-Magee