app/soc/models/linkable.py
changeset 524 774b379e058c
parent 510 6cd4f44891e5
child 533 ba3309b2fd30
equal deleted inserted replaced
523:46039afb63b6 524:774b379e058c
    85   For many entities, link IDs, once specified, are immutable, since
    85   For many entities, link IDs, once specified, are immutable, since
    86   changing them can break bookmarked URLs.  Changing the link IDs of
    86   changing them can break bookmarked URLs.  Changing the link IDs of
    87   "leaf" entities (such as the Document in the example above) could
    87   "leaf" entities (such as the Document in the example above) could
    88   be allowed. 
    88   be allowed. 
    89   """
    89   """
    90   #: Required field storing "ID" used in URLS. Lower ASCII characters,
    90   #: Required field storing "ID" used in URL links. Lower ASCII characters,
    91   #: digits and underscores only.  Valid link IDs successfully match
    91   #: digits and underscores only.  Valid link IDs successfully match
    92   #: the LINK_ID_REGEX.
    92   #: the LINK_ID_REGEX.
    93   link_id = db.StringProperty(required=True,
    93   link_id = db.StringProperty(required=True,
    94       verbose_name=ugettext_lazy('Link ID'))
    94       verbose_name=ugettext_lazy('Link ID'))
    95   link_id.help_text = ugettext_lazy(
    95   link_id.help_text = ugettext_lazy(