-
Notifications
You must be signed in to change notification settings - Fork 193
Open
Labels
Description
active
is being changed through update()
, which does not emit a signal that I need. Would it make sense to add signal to update?
Something similar to the following in https://github.com/xtrinch/fcm-django/blob/master/fcm_django/models.py#L38
class FCMDeviceQuerySet(models.query.QuerySet):
def update(self, **kwargs):
post_save.send(self.__class__, **kwargs) # some signal
return super(FCMDeviceQuerySet, self).update(**kwargs)