GCMNotification

Qualified name: intranet.apps.notifications.models.GCMNotification

class intranet.apps.notifications.models.GCMNotification(id, multicast_id, num_success, num_failure, sent_data, time, user)[source]

Bases: Model

Parameters:

Relationship fields:

Parameters:

Methods

get_next_by_time

Finds next instance based on time.

get_previous_by_time

Finds previous instance based on time.

Attributes

data

id

Type: AutoField

multicast_id

Type: CharField

num_failure

Type: IntegerField

num_success

Type: IntegerField

objects

sent_data

Type: CharField

sent_to

Type: ManyToManyField to NotificationConfig

time

Type: DateTimeField

user

Type: ForeignKey to User

user_id

Internal field, use user instead.