schemas/bootstrap.py
branchtls-sprint
changeset 627 36ade1128af7
parent 0 b97547f5f1fa
child 628 3a6f28a1ea21
--- a/schemas/bootstrap.py	Mon Feb 16 12:33:14 2009 +0100
+++ b/schemas/bootstrap.py	Mon Feb 16 13:03:12 2009 +0100
@@ -14,10 +14,8 @@
     """define an entity type, used to build the application schema"""
     name = String(required=True, indexed=True, internationalizable=True,
                   unique=True, maxsize=64)
-    description_format = String(meta=True, internationalizable=True, maxsize=50,
-                                default='text/plain', constraints=[format_constraint])
-    description = String(internationalizable=True,
-                         description=_('semantic description of this entity type'))
+    description = RichString(internationalizable=True, 
+                             description=_('semantic description of this entity type'))
     meta = Boolean(description=_('is it an application entity type or not ?'))
     # necessary to filter using RQL
     final = Boolean(description=_('automatic'))