Module Expr Str Import alias ImportFrom alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str ClassDef bases body Assign NameStore NameLoad Assign NameStore ListLoad TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If BoolOpOr UnaryOpNot Call NameLoad NameLoad Str CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str keyword NameLoad Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword ListLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Assign NameStore ListLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad TupleLoad NameLoad NameLoad Assign NameStore ListLoad While NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body If CompareIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list Expr Call AttributeLoad NameLoad attr NameLoad keyword ListLoad Str
N/A N/A 
A hierarchical topics scheme.

The important piece here is the hierarchy. This is not tagging -- which tends
to be viewed as something flat by kids these days. We have no time for such a
shallow view of information organisation here.
 N/A mptt django.db models acacia managers signals AbstractTopic N/A N/A models Model N/A N/A 
    A node in a hierarchical storage tree, representing topics of some kind.
    The name of the topic is the name of the parent, followed by the node's
    name (with a configurable separator in between).

    This is an abstract base class to allow for including attributes other than
    just the name via inheritance.
     N/A name N/A N/A models CharField max_length 50 N/A parent N/A N/A models ForeignKey self null True blank True related_name children N/A objects N/A N/A managers TopicManager N/A separator / Meta N/A N/A N/A abstract True N/A unique_together N/A N/A name parent N/A __unicode__ N/A N/A self N/A N/A N/A N/A N/A self full_name N/A full_name N/A N/A self N/A N/A N/A N/A N/A N/A hasattr self _full_name_cache N/A N/A self parent_id N/A self _cached_parent N/A N/A N/A N/A self parent None N/A N/A parents N/A N/A N/A self separator join N/A N/A N/A N/A self get_ancestors values_list name flat True N/A N/A self _full_name_cache N/A %s%s%s N/A parents N/A self separator N/A self name N/A N/A N/A self _full_name_cache N/A self name N/A N/A self _cached_parent N/A self parent_id N/A N/A self _full_name_cache N/A merge_to N/A N/A self parent N/A N/A N/A 
        A variant on mptt's move_to() method that merges any overlapping
        portions of the move.

        If any nodes are to be merged, a pre_merge signal is emitted before the
        move, with a list (old_id, new_id) pairs for nodes that will be merged
        rather than moved. (For efficiency reasons, no signal is emitted if no
        nodes are to be merged.)

        A pre_move signal is also emitted containing the root nodes of any
        subtrees that are being moved, but not merged, and their target parent
        node. This enables dependent apps to set up things like URL rewrites if
        they have URLs depending on topic names. (The significance of
        moved-but-not-merged is that these nodes won't have their pk values
        changed in the process.)
         N/A manager N/A N/A self __class__ objects N/A N/A N/A merge_node N/A N/A manager get parent parent name N/A self name N/A N/A N/A N/A self DoesNotExist N/A N/A N/A N/A N/A signals pre_move send sender self moving N/A N/A self parent N/A N/A N/A self move_to parent N/A N/A squash N/A N/A N/A self id N/A merge_node id N/A examine N/A N/A self merge_node N/A to_move N/A N/A examine N/A N/A N/A node merge_node N/A N/A examine pop N/A children N/A N/A node get_children N/A child_names N/A N/A obj name N/A obj children N/A conflicts N/A N/A obj N/A N/A manager filter parent merge_node name__in child_names N/A N/A N/A conflicts N/A N/A obj name obj N/A child children N/A N/A N/A N/A child name conflicts N/A N/A N/A N/A squash append N/A N/A child id N/A N/A conflicts N/A N/A child name id N/A N/A N/A examine append N/A child N/A conflicts N/A N/A child name N/A N/A N/A N/A to_move append N/A child merge_node N/A squash N/A N/A N/A N/A N/A signals pre_merge send sender self merge_pairs squash N/A to_move N/A N/A N/A N/A N/A signals pre_move send sender self moving to_move N/A N/A child new_parent to_move N/A N/A new_parent N/A N/A manager get id N/A new_parent id N/A N/A N/A child move_to new_parent N/A N/A N/A self delete N/A N/A Topic N/A AbstractTopic N/A N/A 
    The basic concrete class for a topic node. API details are defined by the
    AbstractTopic base class.
     N/A N/A N/A N/A N/A mptt register Topic order_insertion_by N/A name