app/soc/models/presence.py
changeset 1051 c532dd9def48
parent 1038 0a0bc446f869
child 1229 ec3768cbf369
equal deleted inserted replaced
1050:77aab03aa693 1051:c532dd9def48
    55   #: on the site page using Google's JavaScript blog widget  
    55   #: on the site page using Google's JavaScript blog widget  
    56   feed_url = db.LinkProperty(verbose_name=ugettext('Feed URL'))
    56   feed_url = db.LinkProperty(verbose_name=ugettext('Feed URL'))
    57   feed_url.help_text = ugettext(
    57   feed_url.help_text = ugettext(
    58       'The URL should be a valid ATOM or RSS feed. '
    58       'The URL should be a valid ATOM or RSS feed. '
    59       'Feed entries are shown on the home page.')
    59       'Feed entries are shown on the home page.')
    60 
       
    61   #: Reference to Document containing optional Terms of Service
       
    62   tos = db.ReferenceProperty(
       
    63     reference_class=soc.models.document.Document,
       
    64     verbose_name=ugettext('Terms of Service'),
       
    65     collection_name='tos')
       
    66   tos.help_text = ugettext(
       
    67       'Document containing optional Terms of Service for participating.')
       
    68   tos.redirect_url = soc.models.document.Document.URL_NAME
       
    69 
       
    70   is_enabled = db.BooleanProperty(
       
    71       verbose_name=ugettext('Is Enabled'))
       
    72   is_enabled.help_text = ugettext(
       
    73       'Field used to indicate if a Presence is enabled at all, and as such'
       
    74       '  accessible to non-developers.')