Mark 'topics' relation with 'related' tag
authorFrank Bessou <frank.bessou@logilab.fr>
Tue, 02 May 2017 18:07:04 +0200
changeset 171 12203e38d2b9
parent 170 94800ba78d15
child 172 71a41a02d5ce
Mark 'topics' relation with 'related' tag So that users can see the relation box without configuration.
demo/server/cubicweb_bookstore/views.py
--- a/demo/server/cubicweb_bookstore/views.py	Wed May 03 17:11:02 2017 +0200
+++ b/demo/server/cubicweb_bookstore/views.py	Tue May 02 18:07:04 2017 +0200
@@ -19,5 +19,5 @@
 
 from cubicweb_jsonschema.views import jsonschema_config
 
-jsonschema_config.tag_subject_of(('Book', 'topics', '*'), 'inlined')
+jsonschema_config.tag_subject_of(('Book', 'topics', '*'), 'related')
 jsonschema_config.tag_object_of(('*', 'illustrates', 'Book'), 'inlined')