I just realized that it isn't the entire picture needed to build the tree. Also look at the "tree" function in:
http://code.b0b.net/rep/GameDB/trunk/gamedb/driver/views.py -Russell On Wed, Aug 16, 2006 at 06:48:13AM -0700, ????????? wrote: > > I have a table like this > > id | name | parentid > > And parentid is a Foreign Key to ID. > > So I have a tree in my database. My question is that, how can I > represent it on the web as a tree. Something like this : > > http://community.csdn.net/ > > or simply this : > > http://www.smth.org/frames.html > > Is there any example that I could study? > > By the way, if django could provide a generic tree view support, it > might be very cool. > > > > > > !DSPAM:44e32ace200315209328925! > -- v3sw7CYUShw7ln3pr5Ock6ma8u8FLMw5Xm7l7DOi9/2e5t5Ab9HDIOen6g5OAMPa2Xs8MGIr3p9 hackerkey.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---