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-05-28 09:43:51 -04:00
categories Bumped version 2010-05-28 09:36:30 -04:00
doc_src Refactoring docs into doc_src and docs 2010-05-28 09:43:51 -04:00
editor Fied my typo for settings url 2010-04-26 14:56:55 -04:00
example Added the necessary files to test the generic relations 2010-04-23 11:37:47 -04: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
MANIFEST.in Added better setup.py pieces. Getting ready to push to our PyPi 2010-04-07 09:43:35 -04:00
NOTICES.txt Added in support materials 2009-07-07 07:31:34 -04:00
README.txt Modified the setup.py to get the latest version from the code and the long_description fro the README.txt file 2010-04-05 13:08:20 -04:00
requirements.txt Changed the requirements from mptt in our repository to mptt-2 in pypi 2010-04-15 14:51:18 -04:00
setup.py Changed the requirements from mptt in our repository to mptt-2 in pypi 2010-04-15 14:51:18 -04:00

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).

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