src/pyams_content/interfaces/__init__.py
changeset 735 7a414349ee07
parent 99 3af8f6523bb0
equal deleted inserted replaced
734:ccf4175fb71f 735:7a414349ee07
    91 
    91 
    92 class IBaseContent(IContained, IAttributeAnnotatable):
    92 class IBaseContent(IContained, IAttributeAnnotatable):
    93     """Base content interface"""
    93     """Base content interface"""
    94 
    94 
    95     __name__ = TextLine(title=_("Unique key"),
    95     __name__ = TextLine(title=_("Unique key"),
    96                         description=_("WARNING: this key can't be modified after creation!!!"),
    96                         description=_("WARNING: this key can't be modified after creation!!! Spaces, "
       
    97                                       "uppercase letters ou accentuated characters will be replaced "
       
    98                                       "automatically."),
    97                         required=True)
    99                         required=True)
    98 
   100 
    99     title = I18nTextLineField(title=_("Title"),
   101     title = I18nTextLineField(title=_("Title"),
   100                               description=_("Visible label used to display content"),
   102                               description=_("Visible label used to display content"),
   101                               required=True)
   103                               required=True)