skeleton/migration/precreate.py.tmpl
author Julien Jehannet <julien.jehannet@logilab.fr>
Wed, 07 Sep 2011 17:50:09 +0200
changeset 7769 8af09eeee130
parent 5426 0d4853a6e5ee
child 8207 c04676b16c59
permissions -rw-r--r--
[session] take care of non-ascii characters in login and session id (closes: #1910849) We ensure a valid <str> conversion of the session id by using unormalize() at initialization.

# copyright %(year)s %(author)s, all rights reserved.
# contact %(author-web-site)s -- mailto:%(author-email)s
#
%(long-license)s
"""%(distname)s precreate script, executed at instance creation time or when
the cube is added to an existing instance, before the schema is serialized.

This is typically to create groups referenced by the cube'schema.
"""