Merge branch 'master' of https://github.com/collerek/ormar into check_timezones_filters

This commit is contained in:
collerek
2022-01-14 17:54:20 +01:00
12 changed files with 136 additions and 55 deletions

View File

@ -232,6 +232,11 @@ Send for `Model.relation_name.remove()` method for `ManyToMany` relations and re
`sender` - sender class, `instance` - instance to which related model is added, `child` - model being added,
`relation_name` - name of the relation to which child is added.
### post_bulk_update
`post_bulk_update(sender: Type["Model"], instances: List["Model"], **kwargs),
Send for `Model.objects.bulk_update(List[objects])` method.
## Defining your own signals