Adam Johnson
|
f816ceedf1
|
Made assertions in invalid_models_tests consistent.
|
2017-07-11 13:12:17 -04:00 |
Jon Dufresne
|
21046e7773
|
Fixed #28249 -- Removed unnecessary dict.keys() calls.
iter(dict) is equivalent to iter(dict.keys()).
|
2017-05-27 19:08:46 -04:00 |
Mariusz Felisiak
|
538bf43458
|
Fixed #27859 -- Ignored db_index for TextField/BinaryField on Oracle and MySQL.
Thanks Zubair Alam for the initial patch and Tim Graham for the review.
|
2017-05-23 17:02:40 +02:00 |
Carles Pina Estany
|
9f2e8b5bb7
|
Fixed #28120 -- Checked that CharField.max_length is not a boolean.
|
2017-04-24 18:49:31 -04:00 |
Adam Chainz
|
a452dddb25
|
Fixed #27904 -- Added a system check that Field.validators are callable.
|
2017-03-11 12:27:29 -05:00 |
Tim Graham
|
29f607927f
|
Fixed spelling of "nonexistent".
|
2017-02-03 08:01:45 -05:00 |
Tim Graham
|
7aba69145d
|
Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.
|
2017-01-20 08:17:20 -05:00 |
Simon Charette
|
9695b14982
|
Refs #23919 -- Removed str() conversion of type and method __name__.
|
2017-01-19 11:31:07 -05:00 |
Simon Charette
|
cecc079168
|
Refs #23919 -- Stopped inheriting from object to define new style classes.
|
2017-01-19 08:39:46 +01:00 |
Claude Paroz
|
c716fe8782
|
Refs #23919 -- Removed six.PY2/PY3 usage
Thanks Tim Graham for the review.
|
2017-01-18 16:21:28 +01:00 |
Claude Paroz
|
d7b9aaa366
|
Refs #23919 -- Removed encoding preambles and future imports
|
2017-01-18 09:55:19 +01:00 |
Tim Graham
|
9d0e8c1e7f
|
Refs #26320 -- Removed implicit OneToOnField parent_link per deprecation timeline.
|
2017-01-17 20:52:04 -05:00 |
Tim Graham
|
bcf3532ede
|
Refs #26154 -- Removed deprecated CommaSeparatedIntegerField.
|
2017-01-17 20:52:02 -05:00 |
Tim Graham
|
ddd3268975
|
Refs #21127 -- Required on_delete for ForeignKey/OneToOneField.
Per deprecation timeline.
|
2017-01-17 14:09:28 -05:00 |
Adam Chainz
|
391c450fba
|
Refs #25415 -- Made MySQL backend skip field validation of unsupported models.
|
2016-12-29 12:01:48 -05:00 |
Tim Graham
|
e3e80da7a5
|
Fixed #27651 -- Allowed M2M to concrete and proxy through model.
|
2016-12-28 12:48:17 -05:00 |
Lex Berezhny
|
1a9bd75bfa
|
Refs #27358 -- Fixed system check crash with an empty FileField.upload_to.
|
2016-11-30 10:07:42 -05:00 |
Henry Dang
|
7cddd8a02e
|
Fixed #27358 -- Added a system check to prevent FileField's upload_to from starting with a slash.
Thanks Frank Bijlsma for the initial patch.
|
2016-11-29 16:12:24 -05:00 |
Quentin Fulsher
|
f62abfc03d
|
Fixed #27295 -- Added a system check to prohibit model names that start or end with an underscore or contain double underscores.
|
2016-11-22 10:14:10 -05:00 |
za
|
321e94fa41
|
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
|
2016-11-10 21:30:21 -05:00 |
Michael Scott
|
ec9ed07488
|
Fixed #27188 -- Allowed using unique=True with FileField.
Thanks Tim Graham for the initial patch.
|
2016-10-28 20:11:03 -04:00 |
Tim Graham
|
e7abb5ba86
|
Fixed #27204 -- Made clashing m2m intermediary table checks ignore unmanaged models.
|
2016-09-09 19:18:37 -04:00 |
Tim Graham
|
02c276623d
|
Moved model_validation tests to invalid_models_tests.
|
2016-08-16 15:22:58 -04:00 |
Kevan Swanberg
|
17a0a6667c
|
Refs #26796 -- Fixed ManyToManyField's limit_choices_to warning without a through model.
|
2016-07-21 14:29:03 -04:00 |
Anderson Resende
|
ba53da894f
|
Fixed #26796 -- Added a system check for m2m fields with ignored limit_choices_to.
|
2016-07-08 19:37:40 -04:00 |
Andrew Nester
|
baff4dd37d
|
Fixed #25292 -- Fixed crash in ManyToManyField.through_fields check.
|
2016-06-30 08:53:38 -04:00 |
Berker Peksag
|
0bce2f102c
|
Fixed #12810 -- Added a check for clashing ManyToManyField.db_table names.
|
2016-06-10 10:57:22 -04:00 |
Michal Petrucha
|
686a593aaa
|
Fixed #26648 -- Added a system check for invalid related_query_name's containing underscores.
|
2016-06-09 11:57:32 -04:00 |
Sergey Fedoseev
|
21130ce1a9
|
Fixed #26718 -- Added system check for existence of the fields specified by ForeignKey.to_field.
|
2016-06-09 10:19:09 -04:00 |
Tim Graham
|
87338198e9
|
Fixed #26320 -- Deprecated implicit OneToOnField parent_link.
|
2016-04-22 12:59:41 -04:00 |
Tim Graham
|
92053acbb9
|
Fixed E128 flake8 warnings in tests/.
|
2016-04-08 10:12:33 -04:00 |
Tim Graham
|
004ba0f99e
|
Removed unneeded hint=None/obj=None in system check messages.
|
2016-02-12 13:01:25 -05:00 |
Brobin
|
dca8b916ff
|
Fixed #26154 -- Deprecated CommaSeparatedIntegerField
|
2016-02-10 17:57:43 -05:00 |
Simon Charette
|
a325fb1f9b
|
Fixed #26162 -- Checked query name clashes of hidden relationships.
Although reverse accessor clashes should be skipped query name can't be hidden.
Thanks to Ian Foote and Tim Graham for the review.
|
2016-02-08 09:59:27 -05:00 |
Hasan
|
253adc2b8a
|
Refs #26022 -- Used context manager version of assertRaisesMessage in tests.
|
2016-01-29 13:03:39 -05:00 |
Simon Charette
|
a08fda2111
|
Fixed #25746 -- Isolated inlined test models registration.
Thanks to Tim for the review.
|
2016-01-06 20:00:07 -05:00 |
Luis San Pablo
|
a856555df2
|
Fixed #25981 -- Added need to update migrations to on_delete deprecation warning.
|
2015-12-24 08:08:22 -05:00 |
Josh Soref
|
93452a70e8
|
Fixed many spelling mistakes in code, comments, and docs.
|
2015-12-03 12:48:24 -05:00 |
Simon Charette
|
c550beb0cc
|
Fixed #25723 -- Made related field checks lookup against their local apps.
|
2015-11-11 19:33:54 -05:00 |
Simon Charette
|
976bd519a8
|
Revert "Fixed #25417 -- Added a field check for invalid default values."
This reverts commit 71ebcb85b9 .
|
2015-10-27 11:02:35 -04:00 |
Simon Charette
|
c1b6a8a98b
|
Fixed #25560 -- Made empty string related_name invalid.
Thanks to Ali Lotfi for the initial report and patch
and Tim Graham for the review.
|
2015-10-16 14:22:15 -04:00 |
Tim Graham
|
c7aff31397
|
Refs #25535 -- Minor edits to ForeignObject check changes.
|
2015-10-14 05:21:08 -07:00 |
Antoine Catton
|
80dac8c33e
|
Fixed #25535 -- Made ForeignObject checks less strict.
Check that the foreign object `from_fields` are a subset of any unique
constraints on the foreign model.
|
2015-10-12 18:00:59 -04:00 |
Mariusz Felisiak
|
914167abf1
|
Fixed #25503 -- Fixed system check crash on ForeignKey to abstract model.
|
2015-10-06 19:22:37 -04:00 |
Simon Charette
|
71ebcb85b9
|
Fixed #25417 -- Added a field check for invalid default values.
|
2015-09-18 14:31:36 -04:00 |
Dražen Odobašić
|
b1e33ceced
|
Fixed #23395 -- Limited line lengths to 119 characters.
|
2015-09-12 11:40:50 -04:00 |
sarthakmeh
|
4bc00defd0
|
Fixed #14217 -- Added validation for field name collision when using model inheritance.
|
2015-08-25 16:16:54 -04:00 |
Ion Scerbatiuc
|
0cc059cd10
|
Fixed #25172 -- Fixed check framework to work with multiple databases.
|
2015-08-12 18:00:26 -04:00 |
Flavio Curella
|
c2e70f0265
|
Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField
|
2015-07-27 18:28:13 -04:00 |
Michael Manfre
|
f9c3587b51
|
Fixed #25055 -- Made m2m long name testing friendlier for 3rd party databases.
|
2015-07-03 09:00:08 -04:00 |