diff -r 92ead039d3d0 -r 94cc7cad3d2d devtools/devctl.py --- a/devtools/devctl.py Mon Nov 23 14:13:53 2009 +0100 +++ b/devtools/devctl.py Thu Dec 03 17:17:43 2009 +0100 @@ -21,9 +21,10 @@ from logilab.common.shellutils import ASK from logilab.common.clcommands import register_commands +from cubicweb.__pkginfo__ import version as cubicwebversion from cubicweb import CW_SOFTWARE_ROOT as BASEDIR, BadCommandUsage -from cubicweb.__pkginfo__ import version as cubicwebversion from cubicweb.toolsutils import Command, copy_skeleton, underline_title +from cubicweb.schema import CONSTRAINTS from cubicweb.web.webconfig import WebConfiguration from cubicweb.server.serverconfig import ServerConfiguration @@ -138,6 +139,8 @@ libschema = {} afs = uicfg.autoform_section appearsin_addmenu = uicfg.actionbox_appearsin_addmenu + for cstrtype in CONSTRAINTS: + add_msg(w, cstrtype) done = set() for eschema in sorted(schema.entities()): etype = eschema.type