On 10/8/07, cjl <[EMAIL PROTECTED]> wrote: > > I'm a newcomer, so forgive my ignorance, but what real world > situations are recursive relationships good for? > > I was reading: > > http://www.djangoproject.com/documentation/model-api/#relationships > > They mention "recursive relationships", but I couldn't really figure > out what real world problem this relationship is useful for modeling. > > Can anyone point me in the right direction for further reading?
Anything where objects have a relationship to objects of the same type - for example, any person must have a parent and may have children. Person, Parent and Child are all really one class - Person - with relationships on itself. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---