skeleton/migration/postcreate.py.tmpl
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 18 Jan 2013 18:48:15 +0100
changeset 8661 4d24ac49f90d
parent 8207 c04676b16c59
child 10214 88f60d4b9952
permissions -rw-r--r--
[entity] add a "repo_side" parameter to `_cw_dont_cache_attribute` This parameter (defaulting to `False`) is used to inform cubicweb that we really really do not want to cache a value during creation or update. This will be used by a storage that may do very specific processing on attribute values that result in a stored value different than the provided one (e.g. BFSS `fs_importing` mode).

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