mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #31148 -- Added error messages on update()/delete() operations following union(), intersection(), and difference().
This commit is contained in:
parent
f600e3fad6
commit
eef3ea847e
2 changed files with 4 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue