diff -r f94b41709ce6 -r b056a49c16dc schemas/base.py --- a/schemas/base.py Fri Apr 24 16:48:38 2009 +0200 +++ b/schemas/base.py Fri Apr 24 17:04:14 2009 +0200 @@ -125,6 +125,7 @@ subject = '**' object = 'Datetime' + class CWProperty(EntityType): """used for cubicweb configuration. Once a property has been created you can't change the key. @@ -197,6 +198,7 @@ """generic relation to link one entity to another""" symetric = True + class CWCache(MetaEntityType): """a simple cache entity characterized by a name and a validity date. @@ -213,6 +215,6 @@ 'delete': ('managers',), } - name = String(required=True, unique=True, indexed=True, + name = String(required=True, unique=True, indexed=True, maxsize=128, description=_('name of the cache')) timestamp = Datetime(default='NOW')