3. Signals

gcm.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 gcm.models.Device (see Extending device model) represents the registered device.
request
The HttpRequest in which the device was registered.
gcm.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 gcm.models.Device (see Extending device model) represents the unregistered device.
request
The HttpRequest in which the device was unregistered.