skeleton/migration/postcreate.py.tmpl
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 10 May 2011 07:57:52 +0200
brancholdstable
changeset 7348 dce4fa28ae49
parent 5426 0d4853a6e5ee
child 8207 c04676b16c59
permissions -rw-r--r--
[web server] #1642893 issue a 403 instead of a 500 on Unauthorized exception To do so, we allow an arbitrary code to be passed to ``error_handler``. Default error code is still 500.

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