summaryrefslogtreecommitdiff
path: root/tests/update_only_fields/models.py
diff options
context:
space:
mode:
authorAnubhav Joshi <anubhav9042@gmail.com>2014-07-09 02:12:40 +0530
committerTim Graham <timograham@gmail.com>2014-07-09 16:01:09 -0400
commit011abb7d96c75f6154c15a8a0f997d8c27698679 (patch)
treeb73e4e4afa2b06ebb759b0533170aa167ebff627 /tests/update_only_fields/models.py
parent3a85aae2eacae836e2a92de77615569883b81932 (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/update_only_fields/models.py')
-rw-r--r--tests/update_only_fields/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/update_only_fields/models.py b/tests/update_only_fields/models.py
index ea319834c0..f2903b5bae 100644
--- a/tests/update_only_fields/models.py
+++ b/tests/update_only_fields/models.py
@@ -25,7 +25,7 @@ class Person(models.Model):
class Employee(Person):
employee_num = models.IntegerField(default=0)
profile = models.ForeignKey('Profile', related_name='profiles', null=True)
- accounts = models.ManyToManyField('Account', related_name='employees', blank=True, null=True)
+ accounts = models.ManyToManyField('Account', related_name='employees', blank=True)
@python_2_unicode_compatible