diff options
| author | Tim Graham <timograham@gmail.com> | 2015-10-08 17:17:10 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-10-27 07:57:15 -0400 |
| commit | 9c5e272860c076736237d4b280c7c922c46ba273 (patch) | |
| tree | 69727482a17b9bf2594c0755ee9f00f5f361cea0 /tests/custom_columns | |
| parent | 0b5d32facaa1badc0553934f6935507070cfea1b (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.py | 2 |
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( |
