fix the question in comment
This commit is contained in:
@ -1135,8 +1135,7 @@ class QuerySet(Generic[T]):
|
|||||||
for obj in objects:
|
for obj in objects:
|
||||||
obj.set_save_status(True)
|
obj.set_save_status(True)
|
||||||
|
|
||||||
entity = list(objects)[0]
|
await self.__class__.signals.post_bulk_update.send(
|
||||||
await entity.signals.post_bulk_update.send(
|
sender=self.__class__, instances=objects
|
||||||
sender=entity.__class__, instances=objects
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user