summaryrefslogtreecommitdiff
path: root/tests/invalid_models_tests
AgeCommit message (Collapse)Author
2018-05-29[2.1.x] Refs #28748 -- Reallowed lazy model field choices.Tim Graham
Regression in 3aa9ab39cce6b2a27d6334ad0148c8f37b6f5986. Backport of c03e41712b2274f524d32bc2aef455ed82c9e3b4 from master
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 ↵Hasan Ramezani
primary_key field.
2018-04-17Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.Brett Cannon
2018-03-20Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2018-01-27Refs #28748 -- Reallowed lazy values in model field choices.François Freitag
Regression in f9844f484186fa13399bf8b96f58616687fe158a. Thanks Matthias Kestenholz for the report and suggestions.
2018-01-24Fixed #28748 -- Made model field choices check more strict for named groups.François Freitag
2018-01-24Added more tests for model field choices validation.François Freitag
2018-01-12Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵Дилян Палаузов
continue statements.
2018-01-03Fixed #28867 -- Added system check for a model property that clashes with a ↵shanghui
related field accessor.
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 ↵hui shang
Meta.indexes. Thanks Gabriel for the report and Adam Johnson for the review.
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.