skeleton/migration/postcreate.py.tmpl
author Rémi Cardona <remi.cardona@logilab.fr>
Fri, 23 May 2014 18:17:44 +0200
changeset 9818 e3d2012adcd0
parent 8207 c04676b16c59
child 10214 88f60d4b9952
permissions -rw-r--r--
[request] Ensure base_url() always has a trailing '/' (closes #3955093) Just as an example, cubicweb.ajax.js is clearly written under the assumption that BASE_URL/baseuri() - which simply contains req.base_url() - has a trailing /.

# -*- coding: utf-8 -*-
# copyright %(year)s %(author)s, all rights reserved.
# contact %(author-web-site)s -- mailto:%(author-email)s
#
%(long-license)s
"""%(distname)s postcreate script, executed at instance creation time or when
the cube is added to an existing instance.

You could setup site properties or a workflow here for example.
"""

# Example of site property change
#set_property('ui.site-title', "<sitename>")