summaryrefslogtreecommitdiff
path: root/tests/custom_columns
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-10-08 17:17:10 -0400
committerTim Graham <timograham@gmail.com>2015-10-27 07:57:15 -0400
commit9c5e272860c076736237d4b280c7c922c46ba273 (patch)
tree69727482a17b9bf2594c0755ee9f00f5f361cea0 /tests/custom_columns
parent0b5d32facaa1badc0553934f6935507070cfea1b (diff)
Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set.
Diffstat (limited to 'tests/custom_columns')
-rw-r--r--tests/custom_columns/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/custom_columns/tests.py b/tests/custom_columns/tests.py
index dccb400daf..1826eb8db1 100644
--- a/tests/custom_columns/tests.py
+++ b/tests/custom_columns/tests.py
@@ -15,7 +15,7 @@ class CustomColumnsTests(TestCase):
self.authors = [self.a1, self.a2]
self.article = Article.objects.create(headline="Django lets you build Web apps easily", primary_author=self.a1)
- self.article.authors = self.authors
+ self.article.authors.set(self.authors)
def test_query_all_available_authors(self):
self.assertQuerysetEqual(