mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #25550 -- Deprecated direct assignment to the reverse side of a related set.
This commit is contained in:
@@ -344,7 +344,7 @@ class ModelFormsetTest(TestCase):
|
||||
author3 = Author.objects.create(name='Walt Whitman')
|
||||
|
||||
meeting = AuthorMeeting.objects.create(created=date.today())
|
||||
meeting.authors = Author.objects.all()
|
||||
meeting.authors.set(Author.objects.all())
|
||||
|
||||
# create an Author instance to add to the meeting.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user