Inline use_email relation in cwuser
authorFrank Bessou <frank.bessou@logilab.fr>
Mon, 15 May 2017 11:24:08 +0200
changeset 203 777d97b1e6c1
parent 202 b7c989c00d57
child 204 6de8ff025817
Inline use_email relation in cwuser
demo/server/cubicweb_bookstore/views.py
--- a/demo/server/cubicweb_bookstore/views.py	Wed May 10 11:20:15 2017 +0200
+++ b/demo/server/cubicweb_bookstore/views.py	Mon May 15 11:24:08 2017 +0200
@@ -21,3 +21,5 @@
 
 jsonschema_config.tag_subject_of(('Book', 'topics', '*'), 'related')
 jsonschema_config.tag_object_of(('*', 'illustrates', 'Book'), 'inlined')
+jsonschema_config.tag_subject_of(('Book', 'author', 'Author'), 'related')
+jsonschema_config.tag_subject_of(('*', 'use_email', '*'), 'inlined')