MODELTREES

A dictionary of pre-defined modeltree options. This follows Django's database settings convention of having a default modeltree as well as other named instances.

MODELTREES = {
    'default': {
        'model': 'myapp.SomeModel',
        ...
    },
    ...
}

These trees can be accessed via the modeltree.tree.trees dict-like object:

from modeltree.tree import trees

# The default tree is also accessible via trees.default
default = trees['default']