equal
deleted
inserted
replaced
10 |
10 |
11 from cubicweb import ValidationError |
11 from cubicweb import ValidationError |
12 from cubicweb.selectors import entity_implements |
12 from cubicweb.selectors import entity_implements |
13 from cubicweb.common.uilib import soup2xhtml |
13 from cubicweb.common.uilib import soup2xhtml |
14 from cubicweb.server import hook |
14 from cubicweb.server import hook |
15 from cubicweb.server.pool import LateOperation, PreCommitOperation |
|
16 |
15 |
17 # special relations that don't have to be checked for integrity, usually |
16 # special relations that don't have to be checked for integrity, usually |
18 # because they are handled internally by hooks (so we trust ourselves) |
17 # because they are handled internally by hooks (so we trust ourselves) |
19 DONT_CHECK_RTYPES_ON_ADD = set(('owned_by', 'created_by', |
18 DONT_CHECK_RTYPES_ON_ADD = set(('owned_by', 'created_by', |
20 'is', 'is_instance_of', |
19 'is', 'is_instance_of', |