This app attempts to provide a generic category system that multiple apps could use. It uses MPTT for the tree storage and provides a custom admin for better visualization (copied and modified from feinCMS).
Find a file
2010-02-12 12:13:12 -05:00
categories Removed the special many2many models. The user interface was just too odd to implement. 2010-02-12 12:13:12 -05:00
docs Added some registration notes to start the docs 2010-02-01 10:27:56 -05:00
editor Changed the disclosure triangle to be a unicode character instead of the images 2010-02-01 08:50:29 -05:00
sample Added an app to test categories against 2010-02-01 10:29:15 -05:00
.gitignore Ignoring the docs/_build directory 2009-10-06 08:09:45 -04:00
CREDITS.txt Added in support materials 2009-07-07 07:31:34 -04:00
LICENSE.txt Added in support materials 2009-07-07 07:31:34 -04:00
NOTICES.txt Added in support materials 2009-07-07 07:31:34 -04:00
README.txt Fixed up the readme to include some goals 2009-09-30 10:49:24 -04:00
setup.py upped the version and separated the editor 2009-09-30 10:50:51 -04:00

Goals of the project

* Have a generic method for handling hierarchical data

* Allow multiple independent trees, or just one tree

* Have a widget for use in forms

* In templates:

	+ Show one level of a tree 
		- All root categories
		- Just children of a specified category

	+ Show multiple levels
		- Ancestors of category, category and all children of category
		- Category and its children

	+ An inclusion tag for common methods of formatting categories
		- Grandparent :: Parent :: Child <-- current node
			- Add relative links for ancestors
		- Unordered list:
			* Grandparent
			    * Parent <-- current node
			        * Child 1
			        * Child 2
			        * Child n