Commits

Gustavo Picon committed 4407f56

reorganizing docs...

Comments (0)

Files changed (2)

       :show-inheritance:
 
       .. automethod:: add_root
-      .. automethod:: get_first_root_node
-      .. automethod:: get_last_root_node
-      .. automethod:: get_root_nodes
-      .. automethod:: load_bulk
-      .. automethod:: dump_bulk
-      .. automethod:: find_problems
-      .. automethod:: fix_tree
 
       .. automethod:: add_child
       .. automethod:: add_sibling
       .. automethod:: move
       .. automethod:: save
 
+      .. automethod:: get_first_root_node
+      .. automethod:: get_last_root_node
+      .. automethod:: get_root_nodes
+      .. automethod:: load_bulk
+      .. automethod:: dump_bulk
+      .. automethod:: find_problems
+      .. automethod:: fix_tree
+      .. automethod:: get_descendants_group_count
+
    .. autoexception:: InvalidPosition
 
    .. autoexception:: InvalidMoveToDescendant
       :show-inheritance:
 
       .. automethod:: add_root
-      .. automethod:: get_first_root_node
-      .. automethod:: get_last_root_node
-      .. automethod:: get_root_nodes
-      .. automethod:: load_bulk
-      .. automethod:: dump_bulk
-      .. automethod:: find_problems
-      .. automethod:: fix_tree
 
       .. automethod:: add_child
       .. automethod:: add_sibling
-      .. automethod:: delete
-      .. automethod:: get_ancestors
-      .. automethod:: get_children
-      .. automethod:: get_descendants
-      .. automethod:: get_first_child
-      .. automethod:: get_first_sibling
-      .. automethod:: get_next_sibling
-      .. automethod:: get_parent
-      .. automethod:: get_prev_sibling
-      .. automethod:: get_root
-      .. automethod:: get_siblings
-      .. automethod:: is_child_of
-      .. automethod:: is_descendant_of
-      .. automethod:: is_sibling_of
       .. automethod:: move
-      .. automethod:: save
+
+      .. automethod:: find_problems
+      .. automethod:: fix_tree
 
 
 :mod:`tbbench` --- tree

treebeard/mp_tree.py

        ``LIKE`` clauses that don't **start** with a ``%`` character will use the
        index. This is what makes the materialized path approach so fast.
 
-    ``django-treebeard`` uses `Django Model Inheritance with abstract classes`_
-    to let you define your own models. To use ``django-treebeard``:
-
-       1. Download a release from the `treebeard download page`_ or get a
-          development version from the `treebeard subversion repository`_.
-       2. Run :command:`python setup.py install`
-       3. Add ``'treebeard'`` to the ``INSTALLED_APPS`` section in your django
-          settings file.
-       4. Create a new model that inherits from :class:`MPNode`
-       5. Run :command:`python manage.py syncdb`
-
-    Read the :class:`MPNode` API reference for detailed info.
 
     .. _`Vadim Tropashko`: http://vadimtropashko.wordpress.com/
     .. _`Sql Design Patterns`:
 
     Example::
 
-       class SortedNode(treebeard.MPNode):
+       class SortedNode(MPNode):
           node_order_by = ['numval', 'strval']
 
           numval = models.IntegerField()