skeleton/migration/postcreate.py.tmpl
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 24 Jul 2014 14:52:16 +0200
changeset 9933 3674f249ab1d
parent 8207 c04676b16c59
child 10214 88f60d4b9952
permissions -rw-r--r--
[devtools] pre_setup_database takes a Connection, not a Session

# -*- 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>")