summaryrefslogtreecommitdiff
path: root/tests/invalid_models_tests/test_models.py
AgeCommit message (Collapse)Author
2015-08-25Fixed #14217 -- Added validation for field name collision when using model ↵sarthakmeh
inheritance.
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
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 ↵Anubhav Joshi
is within limits of the database. Thanks russellm for report and Tim Graham for review.
2014-06-01Fixed #22711 -- Adjusted ordering checks to allow implicit relation fields.Vincent-Vega
refs #19195.
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
of lists).. Thanks EmilStenstrom for the suggestion.
2014-02-10Fixed #17673 -- Forbid field shadowing.Christopher Medrela
Thanks Anssi Kääriäinen for the suggestion.
2014-01-20Fixed #16905 -- Added extensible checks (nee validation) frameworkRussell Keith-Magee
This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844.