skeleton/migration/precreate.py.tmpl
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 03 Apr 2013 11:09:50 +0200
branchstable
changeset 8862 8011ca5d2841
parent 8207 c04676b16c59
permissions -rw-r--r--
[predicates] use select_or_none rather than select+try/except, expected to be more efficient

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