app/soc/models/linkable.py
changeset 549 00a9ce3dc082
parent 533 ba3309b2fd30
child 568 6713617751b4
equal deleted inserted replaced
548:2ceb3b14349c 549:00a9ce3dc082
   112   #: digits and underscores only.  Valid link IDs successfully match
   112   #: digits and underscores only.  Valid link IDs successfully match
   113   #: the LINK_ID_REGEX.
   113   #: the LINK_ID_REGEX.
   114   link_id = db.StringProperty(required=True,
   114   link_id = db.StringProperty(required=True,
   115       verbose_name=ugettext_lazy('Link ID'))
   115       verbose_name=ugettext_lazy('Link ID'))
   116   link_id.help_text = ugettext_lazy(
   116   link_id.help_text = ugettext_lazy(
   117       '"ID" used when creating URL links.'
   117       'Link ID is used as part of various URL links throughout the site.'
   118       ' Lower ASCII characters, digits, and underscores only.')
   118       ' Lower ASCII characters, digits, and underscores only.')
   119 
   119 
   120   #: Optional Self Reference property to another Linkable entity which defines
   120   #: Optional Self Reference property to another Linkable entity which defines
   121   #: the "scope" of this Linkable entity. The back-reference in the Linkable 
   121   #: the "scope" of this Linkable entity. The back-reference in the Linkable 
   122   #: model is a Query named 'links'.
   122   #: model is a Query named 'links'.