schemas/base.py
branchtls-sprint
changeset 1477 b056a49c16dc
parent 1451 982e8616d9a2
parent 1445 d3c9b075ceb7
child 1742 25a765e756c4
--- 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')