Re: tree structured data

2008-07-16 Thread Marc Vinyes
thanks Frantisek, Rusell and Oscar a lot for your tips! --~--~-~--~~~---~--~~ 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 thi

Re: tree structured data

2008-07-13 Thread Russell Keith-Magee
On Mon, Jul 14, 2008 at 6:27 AM, MarC <[EMAIL PROTECTED]> wrote: > > Hello everybody, > > I'm trying to come up with the most django simple friendly way to store > records in a "tree" kind of database. For instance my records are ... > # Create your models here. > class Food(models.Model): > name

Re: tree structured data

2008-07-13 Thread Oscar Carlsson
I believe there's a project called GeoDjango that's dealing with this very issue, you should check it out: http://code.djangoproject.com/wiki/GeoDjango Oscar On Mon, Jul 14, 2008 at 12:27 AM, MarC <[EMAIL PROTECTED]> wrote: > > Hello everybody, > > I'm trying to come up with the most django simp

Re: tree structured data

2008-07-13 Thread Frantisek Malina
Download Satchmo and look at how product categories are done. There is a complete solution for you. http://www.satchmoproject.com/ On 14. Júl, 00:27 h., MarC <[EMAIL PROTECTED]> wrote: > Hello everybody, > > I'm trying to come up with the most django simple friendly way to store > records in a "

tree structured data

2008-07-13 Thread MarC
Hello everybody, I'm trying to come up with the most django simple friendly way to store records in a "tree" kind of database. For instance my records are Beverages, Food>Fruits>Apples, Food>Vegetables>Carrots, etc . Ideally I'd like to be able to select records that may be categories (Food,