Workout With Friends
Stay fit with a little motivation
 All Classes Namespaces Files Functions Variables Properties
Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
wowf.models.notification.AcceptedChallengeNotification Class Reference
Inheritance diagram for wowf.models.notification.AcceptedChallengeNotification:
Inheritance graph
Collaboration diagram for wowf.models.notification.AcceptedChallengeNotification:
Collaboration graph

Public Member Functions

def message
- Public Member Functions inherited from wowf.models.notification._Notification
def id
- Public Member Functions inherited from wowf.models.notification.Notification
def __unicode__
def add_recipients
- Public Member Functions inherited from wowf.models.meta.Base
def __str__
def __repr__
def get_by_id
def create
def delete
- Public Member Functions inherited from wowf.lib.fulltext.FulltextBase
def index_type
def index_id
def index_data
def add_index
 Add a fulltext index for this instance.
def delete_index
 Delete the fulltext index for this instance.
def update_index
 Update the fulltext index for this instance.

Static Public Attributes

tuple user_id = Column(Integer(unsigned=True), ForeignKey('users.id', ondelete='cascade'), nullable=False)
tuple challenge_id = Column(Integer(unsigned=True), ForeignKey('challenges.id', ondelete='cascade'), nullable=False)
tuple user = relationship('User', lazy='joined')
tuple challenge = relationship('Challenge', lazy='joined')
- Static Public Attributes inherited from wowf.models.notification.Notification
tuple id = Column(Integer(unsigned=True), primary_key=True)
tuple notification_type_id
tuple created_at = Column(DateTime, nullable=False, default=current_timestamp)
tuple users
- Static Public Attributes inherited from wowf.models.meta.Base
tuple query = DBSession.query_property()
- Static Public Attributes inherited from wowf.lib.fulltext.FulltextBase
list index_fields = []

Static Private Attributes

string __tablename__ = 'accepted_challenge_notifications'
dictionary __mapper_args__ = {'polymorphic_identity': NotificationType.lookup_data.index('accepted_challenge') + 1}

Detailed Description

Definition at line 65 of file notification.py.

Member Function Documentation

def wowf.models.notification.AcceptedChallengeNotification.message (   self)

Definition at line 76 of file notification.py.

Member Data Documentation

dictionary wowf.models.notification.AcceptedChallengeNotification.__mapper_args__ = {'polymorphic_identity': NotificationType.lookup_data.index('accepted_challenge') + 1}
staticprivate

Definition at line 68 of file notification.py.

string wowf.models.notification.AcceptedChallengeNotification.__tablename__ = 'accepted_challenge_notifications'
staticprivate

Definition at line 67 of file notification.py.

tuple wowf.models.notification.AcceptedChallengeNotification.challenge = relationship('Challenge', lazy='joined')
static

Definition at line 73 of file notification.py.

tuple wowf.models.notification.AcceptedChallengeNotification.challenge_id = Column(Integer(unsigned=True), ForeignKey('challenges.id', ondelete='cascade'), nullable=False)
static

Definition at line 70 of file notification.py.

tuple wowf.models.notification.AcceptedChallengeNotification.user = relationship('User', lazy='joined')
static

Definition at line 72 of file notification.py.

tuple wowf.models.notification.AcceptedChallengeNotification.user_id = Column(Integer(unsigned=True), ForeignKey('users.id', ondelete='cascade'), nullable=False)
static

Definition at line 69 of file notification.py.


The documentation for this class was generated from the following file: