summaryrefslogtreecommitdiff
path: root/tests/many_to_many
diff options
context:
space:
mode:
authorLoic Bistuer <loic.bistuer@gmail.com>2015-02-16 16:03:34 +0700
committerLoic Bistuer <loic.bistuer@gmail.com>2015-02-16 20:40:04 +0700
commitc5a77721e2fccff427374cd987a6d8b92a37f37c (patch)
tree980bde583933cd7e5e1043d70f004bcc1e4388fb /tests/many_to_many
parentd652906aebd34d9ba943507ce0c3a7be169fab7c (diff)
downloaddjango-c5a77721e2fccff427374cd987a6d8b92a37f37c.tar.gz
Merged ManyRelatedObjectsDescriptor and ReverseManyRelatedObjectsDescriptor
and made all "many" related objects descriptors inherit from ForeignRelatedObjectsDescriptor.
Diffstat (limited to 'tests/many_to_many')
-rw-r--r--tests/many_to_many/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/many_to_many/tests.py b/tests/many_to_many/tests.py
index 192bc5f0e8..387acb2580 100644
--- a/tests/many_to_many/tests.py
+++ b/tests/many_to_many/tests.py
@@ -424,7 +424,7 @@ class ManyToManyTests(TestCase):
def test_reverse_assign_with_queryset(self):
# Ensure that querysets used in M2M assignments are pre-evaluated
# so their value isn't affected by the clearing operation in
- # ReverseManyRelatedObjectsDescriptor.__set__. Refs #19816.
+ # ManyRelatedObjectsDescriptor.__set__. Refs #19816.
self.p1.article_set = [self.a1, self.a2]
qs = self.p1.article_set.filter(headline='Django lets you build Web apps easily')