equal
deleted
inserted
replaced
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 |