summaryrefslogtreecommitdiff
path: root/tests/invalid_models_tests
AgeCommit message (Collapse)Author
2017-07-11Made assertions in invalid_models_tests consistent.Adam Johnson
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
iter(dict) is equivalent to iter(dict.keys()).
2017-05-23Fixed #27859 -- Ignored db_index for TextField/BinaryField on Oracle and MySQL.Mariusz Felisiak
Thanks Zubair Alam for the initial patch and Tim Graham for the review.
2017-04-24Fixed #28120 -- Checked that CharField.max_length is not a boolean.Carles Pina Estany
2017-03-11Fixed #27904 -- Added a system check that Field.validators are callable.Adam Chainz
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-19Refs #23919 -- Removed str() conversion of type and method __name__.Simon Charette
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #26320 -- Removed implicit OneToOnField parent_link per deprecation ↵Tim Graham
timeline.
2017-01-17Refs #26154 -- Removed deprecated CommaSeparatedIntegerField.Tim Graham
2017-01-17Refs #21127 -- Required on_delete for ForeignKey/OneToOneField.Tim Graham
Per deprecation timeline.
2016-12-29Refs #25415 -- Made MySQL backend skip field validation of unsupported models.Adam Chainz
2016-12-28Fixed #27651 -- Allowed M2M to concrete and proxy through model.Tim Graham
2016-11-30Refs #27358 -- Fixed system check crash with an empty FileField.upload_to.Lex Berezhny
2016-11-29Fixed #27358 -- Added a system check to prevent FileField's upload_to from ↵Henry Dang
starting with a slash. Thanks Frank Bijlsma for the initial patch.
2016-11-22Fixed #27295 -- Added a system check to prohibit model names that start or ↵Quentin Fulsher
end with an underscore or contain double underscores.
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-10-28Fixed #27188 -- Allowed using unique=True with FileField.Michael Scott
Thanks Tim Graham for the initial patch.
2016-09-09Fixed #27204 -- Made clashing m2m intermediary table checks ignore unmanaged ↵Tim Graham
models.
2016-08-16Moved model_validation tests to invalid_models_tests.Tim Graham
2016-07-21Refs #26796 -- Fixed ManyToManyField's limit_choices_to warning without a ↵Kevan Swanberg
through model.
2016-07-08Fixed #26796 -- Added a system check for m2m fields with ignored ↵Anderson Resende
limit_choices_to.
2016-06-30Fixed #25292 -- Fixed crash in ManyToManyField.through_fields check.Andrew Nester
2016-06-10Fixed #12810 -- Added a check for clashing ManyToManyField.db_table names.Berker Peksag
2016-06-09Fixed #26648 -- Added a system check for invalid related_query_name's ↵Michal Petrucha
containing underscores.
2016-06-09Fixed #26718 -- Added system check for existence of the fields specified by ↵Sergey Fedoseev
ForeignKey.to_field.
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-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