diff options
| author | Anubhav Joshi <anubhav9042@gmail.com> | 2014-07-09 02:12:40 +0530 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-07-09 16:01:09 -0400 |
| commit | 011abb7d96c75f6154c15a8a0f997d8c27698679 (patch) | |
| tree | b73e4e4afa2b06ebb759b0533170aa167ebff627 /tests/model_package/tests.py | |
| parent | 3a85aae2eacae836e2a92de77615569883b81932 (diff) | |
Fixed #19671 -- Added warnings that null and validators are ignored for ManyToManyField.
Thanks Loic Bistuer and Tim Graham for help and review.
Diffstat (limited to 'tests/model_package/tests.py')
| -rw-r--r-- | tests/model_package/tests.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/model_package/tests.py b/tests/model_package/tests.py index 7dc1f84a35..0105f1bd21 100644 --- a/tests/model_package/tests.py +++ b/tests/model_package/tests.py @@ -10,9 +10,7 @@ from .models.article import Article class Advertisement(models.Model): customer = models.CharField(max_length=100) - publications = models.ManyToManyField( - "model_package.Publication", null=True, blank=True - ) + publications = models.ManyToManyField("model_package.Publication", blank=True) class ModelPackageTests(TestCase): |
