equal
deleted
inserted
replaced
26 from yams.schema import role_name |
26 from yams.schema import role_name |
27 |
27 |
28 from cubicweb import ValidationError |
28 from cubicweb import ValidationError |
29 from cubicweb.schema import (META_RTYPES, WORKFLOW_RTYPES, |
29 from cubicweb.schema import (META_RTYPES, WORKFLOW_RTYPES, |
30 RQLConstraint, RQLUniqueConstraint) |
30 RQLConstraint, RQLUniqueConstraint) |
31 from cubicweb.selectors import is_instance |
31 from cubicweb.predicates import is_instance |
32 from cubicweb.uilib import soup2xhtml |
32 from cubicweb.uilib import soup2xhtml |
33 from cubicweb.server import hook |
33 from cubicweb.server import hook |
34 |
34 |
35 # special relations that don't have to be checked for integrity, usually |
35 # special relations that don't have to be checked for integrity, usually |
36 # because they are handled internally by hooks (so we trust ourselves) |
36 # because they are handled internally by hooks (so we trust ourselves) |