summaryrefslogtreecommitdiff
path: root/tests/invalid_models_tests
AgeCommit message (Collapse)Author
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-02-10Fixed #26154 -- Deprecated CommaSeparatedIntegerFieldBrobin
2016-02-08Fixed #26162 -- Checked query name clashes of hidden relationships.Simon Charette
Although reverse accessor clashes should be skipped query name can't be hidden. Thanks to Ian Foote and Tim Graham for the review.
2016-01-29Refs #26022 -- Used context manager version of assertRaisesMessage in tests.Hasan
2016-01-06Fixed #25746 -- Isolated inlined test models registration.Simon Charette
Thanks to Tim for the review.
2015-12-24Fixed #25981 -- Added need to update migrations to on_delete deprecation ↵Luis San Pablo
warning.
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-11-11Fixed #25723 -- Made related field checks lookup against their local apps.Simon Charette
2015-10-27Revert "Fixed #25417 -- Added a field check for invalid default values."Simon Charette
This reverts commit 71ebcb85b931f43865df5b322b2cf06d3da23f69.
2015-10-16Fixed #25560 -- Made empty string related_name invalid.Simon Charette
Thanks to Ali Lotfi for the initial report and patch and Tim Graham for the review.
2015-10-14Refs #25535 -- Minor edits to ForeignObject check changes.Tim Graham
2015-10-12Fixed #25535 -- Made ForeignObject checks less strict.Antoine Catton
Check that the foreign object `from_fields` are a subset of any unique constraints on the foreign model.
2015-10-06Fixed #25503 -- Fixed system check crash on ForeignKey to abstract model.Mariusz Felisiak
2015-09-18Fixed #25417 -- Added a field check for invalid default values.Simon Charette
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-08-25Fixed #14217 -- Added validation for field name collision when using model ↵sarthakmeh
inheritance.
2015-08-12Fixed #25172 -- Fixed check framework to work with multiple databases.Ion Scerbatiuc
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-06-26Fixed #25016 -- Reallowed non-ASCII values for ForeignKey.related_name on ↵薛丞宏
Python 3.
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-05-19Fixed #24818 -- Prevented models.CharField from accepting a string as max_lengthAlasdair Nicol
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
2015-01-19Removed IPAddressField per deprecation timeline; refs #20439.Tim Graham
2015-01-17Removed BaseDatabaseValidation.validate_field() per deprecation timeline.Tim Graham
2014-11-26Fixed #23801 -- Added warning when max_length is used with IntegerFieldMattBlack85
2014-11-13Fixed #23761 -- Added test for MySQL validator and db_type is None.Adam DePue
The issue was fixed on master in e9103402c0fa873aea58a6a11dba510cd308cb84 so this just forwardports the test and release notes from stable/1.7.x. Forwardport of 2d12a59938 from stable/1.7.x
2014-10-19Fixed #23684 -- Used correct package name for Pillow in Error hint.Nicholas Serra
2014-10-04Fixed #22064 -- Add check for related_nameAndré Ericson
Validates that related_name is a valid Python id or ends with a '+' and it's not a keyword. Without a check it passed silently leading to unpredictable problems. Thanks Konrad Świat for the initial work.
2014-07-14Fixed name of database connection featureShai Berger
2014-07-09Fixed #19671 -- Added warnings that null and validators are ignored for ↵Anubhav Joshi
ManyToManyField. Thanks Loic Bistuer and Tim Graham for help and review.
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-05-17Fixed several flake8 errors, including one where a test wouldn't be runAlex Gaynor
2014-05-16Fixed #21905 -- Add info message if DateField or TimeField use a fixed valueMarkus Holtermann
2014-05-16Refs #21798 - Modified error number to provide room for future expansion.Russell Keith-Magee
2014-05-16Fixed #21798 -- Added check for DateTime mutually exclusive optionsDaniel Pyrathon
Added DateTimeCheckMixin to avoid the use of default, auto_now, and auto_now_add options together. Added the fields.E151 Error that is raised if one or more of these options are used together.
2014-04-14Fixed #22356 -- Added a check to make sure unique_together fields are local.Marc Egli
2014-03-21Removed PIL compatability layer per deprecation timeline.Tim Graham
refs #19934.
2014-03-12Flake8 correctionsShai Berger
2014-03-11Fixed #22217 - ManyToManyField.through_fields fixes.Akis Kesoglou
- Docs description of arguments mix up. - Keep it from erroneously masking E332 check. - Add checks E338 and E339, tweak message of E337.
2014-03-05Fixed #14549 - Removed restriction of single FKs on intermediary tablesAkis Kesoglou
Thanks to Loic Bistuer for review. Minor changes to error messages done by committer.
2014-03-03Edited model and field checks for grammar and consistency.Russell Keith-Magee