postcreate.py 1.07 KB
Newer Older
Adrien Di Mascio's avatar
Adrien Di Mascio committed
1
# -*- coding: utf-8 -*-
2
# copyright 2013-2022 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
Nicola Spanti's avatar
Nicola Spanti committed
3
# contact https://www.logilab.fr -- mailto:contact@logilab.fr
Adrien Di Mascio's avatar
Adrien Di Mascio committed
4
5
6
7
8
9
10
11
12
13
14
15
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 2.1 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License along
Nicola Spanti's avatar
Nicola Spanti committed
16
# with this program. If not, see <https://www.gnu.org/licenses/>.
Adrien Di Mascio's avatar
Adrien Di Mascio committed
17

18
"""cubicweb-bootstrap postcreate script, executed at instance creation time or when
Adrien Di Mascio's avatar
Adrien Di Mascio committed
19
20
21
22
23
24
25
26
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>")