app/soc/models/presence.py
changeset 936 b3e1e0c9649c
parent 805 6aaf4c33db0b
child 970 8b5611d5b053
equal deleted inserted replaced
935:09f47e08f805 936:b3e1e0c9649c
    47   home = db.ReferenceProperty(
    47   home = db.ReferenceProperty(
    48     reference_class=soc.models.document.Document,
    48     reference_class=soc.models.document.Document,
    49     collection_name='home')
    49     collection_name='home')
    50   home.help_text = ugettext_lazy(
    50   home.help_text = ugettext_lazy(
    51       'Document to be used as the "/home" page static contents.')
    51       'Document to be used as the "/home" page static contents.')
       
    52   home.redirect_url = soc.models.document.Document.URL_NAME
    52 
    53 
    53   #: Valid ATOM or RSS feed url or None if unused. Feed entries are shown 
    54   #: Valid ATOM or RSS feed url or None if unused. Feed entries are shown 
    54   #: on the site page using Google's JavaScript blog widget  
    55   #: on the site page using Google's JavaScript blog widget  
    55   feed_url = db.LinkProperty(verbose_name=ugettext_lazy('Feed URL'))
    56   feed_url = db.LinkProperty(verbose_name=ugettext_lazy('Feed URL'))
    56   feed_url.help_text = ugettext_lazy(
    57   feed_url.help_text = ugettext_lazy(
    62     reference_class=soc.models.document.Document,
    63     reference_class=soc.models.document.Document,
    63     verbose_name=ugettext_lazy('Terms of Service'),
    64     verbose_name=ugettext_lazy('Terms of Service'),
    64     collection_name='tos')
    65     collection_name='tos')
    65   tos.help_text = ugettext_lazy(
    66   tos.help_text = ugettext_lazy(
    66       'Document containing optional Terms of Service for participating.')
    67       'Document containing optional Terms of Service for participating.')
    67 
    68   tos.redirect_url = soc.models.document.Document.URL_NAME