schemas/base.py
branchtls-sprint
changeset 627 36ade1128af7
parent 59 9660bd221553
child 628 3a6f28a1ea21
--- a/schemas/base.py	Mon Feb 16 12:33:14 2009 +0100
+++ b/schemas/base.py	Mon Feb 16 13:03:12 2009 +0100
@@ -138,10 +138,8 @@
     """
     name = String(required=True, indexed=True, internationalizable=True,
                   maxsize=256)
-    description_format = String(meta=True, internationalizable=True, maxsize=50,
-                                default='text/rest', constraints=[format_constraint])
-    description = String(fulltextindexed=True,
-                         description=_('semantic description of this state'))
+    description = RichString(fulltextindexed=True, default='text/rest',
+                             description=_('semantic description of this state'))
     
     state_of = SubjectRelation('EEType', cardinality='+*',
                     description=_('entity types which may use this state'),