equal
deleted
inserted
replaced
15 from cubicweb import Unauthorized |
15 from cubicweb import Unauthorized |
16 from cubicweb.vregistry import autoselectors |
16 from cubicweb.vregistry import autoselectors |
17 from cubicweb.rset import ResultSet |
17 from cubicweb.rset import ResultSet |
18 from cubicweb.common.appobject import AppRsetObject |
18 from cubicweb.common.appobject import AppRsetObject |
19 from cubicweb.common.registerers import id_registerer |
19 from cubicweb.common.registerers import id_registerer |
20 from cubicweb.common.selectors import yes_selector |
20 from cubicweb.common.selectors import yes |
21 from cubicweb.common.uilib import printable_value, html_escape, soup2xhtml |
21 from cubicweb.common.uilib import printable_value, html_escape, soup2xhtml |
22 from cubicweb.common.mixins import MI_REL_TRIGGERS |
22 from cubicweb.common.mixins import MI_REL_TRIGGERS |
23 from cubicweb.common.mttransforms import ENGINE |
23 from cubicweb.common.mttransforms import ENGINE |
24 from cubicweb.schema import RQLVocabularyConstraint, RQLConstraint, bw_normalize_etype |
24 from cubicweb.schema import RQLVocabularyConstraint, RQLConstraint, bw_normalize_etype |
25 |
25 |
216 cardinality |
216 cardinality |
217 """ |
217 """ |
218 __metaclass__ = metaentity |
218 __metaclass__ = metaentity |
219 __registry__ = 'etypes' |
219 __registry__ = 'etypes' |
220 __registerer__ = id_registerer |
220 __registerer__ = id_registerer |
221 __selectors__ = (yes_selector,) |
221 __selectors__ = (yes,) |
222 widgets = {} |
222 widgets = {} |
223 id = None |
223 id = None |
224 e_schema = None |
224 e_schema = None |
225 eid = None |
225 eid = None |
226 rest_attr = None |
226 rest_attr = None |