bin/cubicweb-ctl
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 16 Feb 2009 12:33:14 +0100
branchtls-sprint
changeset 624 258e5692ae06
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
provide a new RichString attribute type The follwing declaration: class Card(EntityType): content = RichString(fulltextindexed=True, default_format='text/rest') is equivalent to : class Card(EntityType): content_format = String(meta=True, internationalizable=True, default='text/rest', constraints=[format_constraint]) content = String(fulltextindexed=True)

#!/usr/bin/env python
from cubicweb.cwctl import run
import sys
run(sys.argv[1:])