web/uicfg.py
branchtls-sprint
changeset 1498 2c6eec0b46b9
parent 1468 500ca81a344a
child 1533 bcd4bfff658b
equal deleted inserted replaced
1493:8270580b65a0 1498:2c6eec0b46b9
     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')