skeleton/migration/postcreate.py.tmpl
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 23 Nov 2012 16:12:19 +0100
changeset 9031 6ff29f2879da
parent 8207 c04676b16c59
child 10214 88f60d4b9952
permissions -rw-r--r--
web/application: instantiate the repository outside of CubicWebPublisher This improves decoupling and allows ``CubicWebPublisher`` user to choose which argument are used during ``Repository`` instantiation. In particular is allows caller to provide a ``TaskManager``. The `vreg` argument of publisher is made mandatory. See CubicWebPublisher docstring for details. Related to #2249513

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