skeleton/migration/postcreate.py.tmpl
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 13 Mar 2014 16:57:22 +0100
changeset 9659 c45073a96aee
parent 8207 c04676b16c59
child 10214 88f60d4b9952
permissions -rw-r--r--
[web] return 403 for Unauthorized, not 401 401 is reserved to HTTP authentication. Just because it's also called "unauthorized" doesn't mean it's the same as cubicweb's Unauthorized exception. Closes #3648809.

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