NotificationConfig

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

class intranet.apps.notifications.models.NotificationConfig(id, user, gcm_token, gcm_time, gcm_optout, android_gcm_rand)[source]

Bases: Model

Parameters:

Relationship fields:

Parameters:

user (OneToOneField to User) – User (related name: notificationconfig)

Reverse relationships:

Parameters:

gcmnotification (Reverse ManyToManyField from GCMNotification) – All gcm notifications of this notification config (related name of sent_to)

Methods

Attributes

android_gcm_rand

Type: CharField

gcm_optout

Type: BooleanField

gcm_time

Type: DateTimeField

gcm_token

Type: CharField

gcm_token_sha256

gcmnotification_set

Type: Reverse ManyToManyField from GCMNotification

id

Type: AutoField

objects

user

Type: OneToOneField to User

user_id

Internal field, use user instead.