app/soc/models/notification.py
changeset 756 a0c0b48563cb
parent 748 f00e6b3af5a6
child 824 e964dca75527
equal deleted inserted replaced
755:1ed041c0cdc6 756:a0c0b48563cb
    36   #: a reference to the user this Notification is from
    36   #: a reference to the user this Notification is from
    37   #: this is a non-required property, None will indicate an Anonymous Admin
    37   #: this is a non-required property, None will indicate an Anonymous Admin
    38   from_user = db.ReferenceProperty(reference_class=soc.models.user.User,
    38   from_user = db.ReferenceProperty(reference_class=soc.models.user.User,
    39       required=False,
    39       required=False,
    40       collection_name="sent_notifications",
    40       collection_name="sent_notifications",
    41       verbose_name=ugettext_lazy('From User'))
    41       verbose_name=ugettext_lazy('From'))
    42   
    42   
    43   subject = db.StringProperty(required=True,
    43   subject = db.StringProperty(required=True,
    44       verbose_name=ugettext_lazy('Subject'))
    44       verbose_name=ugettext_lazy('Subject'))
    45   
    45   
    46   #: the message that is contained within this Notification
    46   #: the message that is contained within this Notification