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/m2m_regress | |
parent | 3a85aae2eacae836e2a92de77615569883b81932 (diff) | |
download | django-011abb7d96c75f6154c15a8a0f997d8c27698679.tar.gz |
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/m2m_regress')
-rw-r--r-- | tests/m2m_regress/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/m2m_regress/models.py b/tests/m2m_regress/models.py index 48fdad9304..4c1538dcbf 100644 --- a/tests/m2m_regress/models.py +++ b/tests/m2m_regress/models.py @@ -60,7 +60,7 @@ class Line(models.Model): class Worksheet(models.Model): id = models.CharField(primary_key=True, max_length=100) - lines = models.ManyToManyField(Line, blank=True, null=True) + lines = models.ManyToManyField(Line, blank=True) # Regression for #11226 -- A model with the same name that another one to |