db0_axes.py 464 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
# -*- coding: utf-8 -*-
""" axes

    The table axes, lists, sections and renderers are used by the lists tool.
    It defines the relation between axis and granularity

"""

db.define_table("axes",
10 11
    Field("axis", "string", length=255, notnull=True),
    Field("granularity", "string", length=255, notnull=True),
12 13
    Field("tr_axis", "string", length=255, notnull=True),
    Field("tr_granularity", "string", length=255, notnull=True),
14
    migrate="axes.table")