equal
deleted
inserted
replaced
9 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
9 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
10 """ |
10 """ |
11 __docformat__ = "restructuredtext en" |
11 __docformat__ = "restructuredtext en" |
12 from cubicweb.rtags import RelationTags |
12 from cubicweb.rtags import RelationTags |
13 |
13 |
14 # editforms.AutomaticEntityForm configuration ################################# |
14 # autoform.AutomaticEntityForm configuration ################################## |
15 |
15 |
16 # relations'category (eg primary/secondary/generic/metadata/generated) |
16 # relations'category (eg primary/secondary/generic/metadata/generated) |
17 rcategories = RelationTags() |
17 rcategories = RelationTags() |
18 # use primary and not generated for eid since it has to be an hidden |
18 # use primary and not generated for eid since it has to be an hidden |
19 rcategories.set_rtag('primary', 'eid', 'subject') |
19 rcategories.set_rtag('primary', 'eid', 'subject') |