Fixed #31148 -- Added error messages on update()/delete() operations following union(), intersection(), and difference().

This commit is contained in:
Hasan Ramezani 2020-01-09 11:10:25 +01:00 committed by Mariusz Felisiak
parent f600e3fad6
commit eef3ea847e
2 changed files with 4 additions and 0 deletions

View file

@ -272,12 +272,14 @@ class QuerySetSetOperationTests(TestCase):
for operation in (
'annotate',
'defer',
'delete',
'exclude',
'extra',
'filter',
'only',
'prefetch_related',
'select_related',
'update',
):
with self.subTest(combinator=combinator, operation=operation):
with self.assertRaisesMessage(