skeleton/migration/postcreate.py.tmpl
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 20 Nov 2015 17:13:03 +0100
changeset 10848 e905c95ccdfb
parent 10214 88f60d4b9952
permissions -rw-r--r--
[web] stop looking at a request's Cache-Control header As per RFC 7234 (HTTP 1.1 Caching): The "Cache-Control" header field is used to specify directives for caches along the request/response chain. CubicWeb is not a cache.

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