Set "ui.site-title" property of demo server
authorDenis Laxalde <denis.laxalde@logilab.fr>
Thu, 06 Apr 2017 14:53:09 +0200
changeset 91 6cf66f3cedb5
parent 90 e6ab00d4d3f5
child 92 00e2a49e82c5
Set "ui.site-title" property of demo server This will be used by cubicweb-jsonschema as title of the root JSON Schema document.
demo/server/cubicweb_bookstore/migration/postcreate.py
--- a/demo/server/cubicweb_bookstore/migration/postcreate.py	Thu Apr 06 12:52:04 2017 +0200
+++ b/demo/server/cubicweb_bookstore/migration/postcreate.py	Thu Apr 06 14:53:09 2017 +0200
@@ -22,6 +22,8 @@
 """
 from datetime import datetime
 
+set_property('ui.site-title', "Bookstore")
+
 hugo = create_entity('Author', name=u'Victor Hugo')
 hemingway = create_entity('Author', name=u'Ernest Hemingway')