3. Signals

fcm.signals.device_registered

Sent when a device is registered. Provides the following arguments:

sender
The resource class used to register the device.
device
An instance of fcm.models.Device (see Extending device model) represents the registered device.
request
The HttpRequest in which the device was registered.
fcm.signals.device_unregistered

Sent when a device is unregistered. Provides the following arguments:

sender
The resource class used to unregister the device.
device
An instance of fcm.models.Device (see Extending device model) represents the unregistered device.
request
The HttpRequest in which the device was unregistered.