On Tue, Apr 28, 2009 at 3:09 PM, Alex Robbins
wrote:
>
> For a real simple solution you might just set up a foreign key field
> that points to the parent of any given category. (If you don't need
> the extra features of those libraries, they might just make things
> more complicated.)
>
> E.g. su
For a real simple solution you might just set up a foreign key field
that points to the parent of any given category. (If you don't need
the extra features of those libraries, they might just make things
more complicated.)
E.g. subcat1-1-1 and subcat1-1-2 are fk'ed to subcat1-1.
subcat1-1 is fk'e
Treebeard is another option.
http://code.google.com/p/django-treebeard/
I'm sure between mptt or treebeard, you'll find something suitable.
R.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
Modified Preorder Tree Traversal (mptt)
http://code.google.com/p/django-mptt/
On Mon, Apr 27, 2009 at 9:52 AM, joker wrote:
>
> how can i use unlimited category?
>
> like
>
> category1
>subcategory1-1
> subcategory1-1-1
> subcategory1-1-2
> subcategory1-1-3
>
how can i use unlimited category?
like
category1
subcategory1-1
subcategory1-1-1
subcategory1-1-2
subcategory1-1-3
subcategory1-1-3-1
subcategory1-1-3-2
subcategory1-2
category2
subcategory2-1
subcategory2-2
--~--~--
5 matches
Mail list logo