demo: remove jsonschema_section tag for Book's author relation
authorDenis Laxalde <denis.laxalde@logilab.fr>
Wed, 17 May 2017 17:56:14 +0200
changeset 211 e406f2aea20d
parent 210 bb3261911433
child 212 7d6ca8b951d5
demo: remove jsonschema_section tag for Book's author relation No reason to have this in related section, per cardinality and composite.
demo/server/cubicweb_bookstore/views.py
--- a/demo/server/cubicweb_bookstore/views.py	Wed May 17 17:43:00 2017 +0200
+++ b/demo/server/cubicweb_bookstore/views.py	Wed May 17 17:56:14 2017 +0200
@@ -21,5 +21,4 @@
 
 jsonschema_section.tag_subject_of(('Book', 'topics', '*'), 'related')
 jsonschema_section.tag_object_of(('*', 'illustrates', 'Book'), 'inlined')
-jsonschema_section.tag_subject_of(('Book', 'author', 'Author'), 'related')
 jsonschema_section.tag_subject_of(('*', 'use_email', '*'), 'inlined')