Detailed Description
Definition at line 13 of file notification.py.
Member Function Documentation
def wowf.models.notification.Notification.__unicode__ |
( |
|
self | ) |
|
def wowf.models.notification.Notification.add_recipients |
( |
|
self, |
|
|
|
users |
|
) |
| |
Member Data Documentation
dictionary wowf.models.notification.Notification.__mapper_args__ = {'polymorphic_on': 'notification_type_id'} |
|
staticprivate |
string wowf.models.notification.Notification.__tablename__ = 'notifications' |
|
staticprivate |
tuple wowf.models.notification.Notification.created_at = Column(DateTime, nullable=False, default=current_timestamp) |
|
static |
tuple wowf.models.notification.Notification.id = Column(Integer(unsigned=True), primary_key=True) |
|
static |
tuple wowf.models.notification.Notification.notification_type_id |
|
static |
Initial value:Column(
Integer(unsigned=True), ForeignKey('notification_types.id', ondelete='cascade'),
nullable=False)
Definition at line 18 of file notification.py.
tuple wowf.models.notification.Notification.users |
|
static |
Initial value:relationship(
'User', backref=backref('notifications', lazy='dynamic'),
secondary='users_notifications')
Definition at line 23 of file notification.py.
The documentation for this class was generated from the following file: