skeleton/migration/postcreate.py.tmpl
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 28 Apr 2010 12:14:22 +0200
changeset 5423 e15abfdcce38
parent 5421 skeleton/migration/postcreate.py@8167de96c523
parent 5184 skeleton/migration/postcreate.py@955ee1b24756
child 5426 0d4853a6e5ee
permissions -rw-r--r--
backport default into stable: stable is now cw 3.8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5423
e15abfdcce38 backport default into stable: stable is now cw 3.8
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5421 5184
diff changeset
     1
# copyright %(year)s %(author)s, all rights reserved.
e15abfdcce38 backport default into stable: stable is now cw 3.8
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5421 5184
diff changeset
     2
# contact %(author-web-site)s -- mailto:%(author-email)s
5421
8167de96c523 proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4212
diff changeset
     3
#
5423
e15abfdcce38 backport default into stable: stable is now cw 3.8
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5421 5184
diff changeset
     4
%(long-license)s
5184
955ee1b24756 [c-c newcube] #1192: simpler cubicweb-ctl newcube, and more
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4212
diff changeset
     5
"""%(distname)s postcreate script, executed at instance creation time or when
955ee1b24756 [c-c newcube] #1192: simpler cubicweb-ctl newcube, and more
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4212
diff changeset
     6
the cube is added to an existing instance.
955ee1b24756 [c-c newcube] #1192: simpler cubicweb-ctl newcube, and more
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4212
diff changeset
     7
955ee1b24756 [c-c newcube] #1192: simpler cubicweb-ctl newcube, and more
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4212
diff changeset
     8
You could setup site properties or a workflow here for example.
1977
606923dff11b big bunch of copyright / docstring update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 0
diff changeset
     9
"""
606923dff11b big bunch of copyright / docstring update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 0
diff changeset
    10
3167
3d985c6f4d46 [D] add example about site properties configuration
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 1977
diff changeset
    11
# Example of site property change
3d985c6f4d46 [D] add example about site properties configuration
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 1977
diff changeset
    12
#set_property('ui.site-title', "<sitename>")
3d985c6f4d46 [D] add example about site properties configuration
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 1977
diff changeset
    13