On Monday 03 April 2006 21:45, Grimboy wrote: > I have this problem with the following code (highlight: > http://pastebin.com/638352) > > Basically I want a Model that relates with itself, the relationship > its self will also have data. (That's why I've made it a seperate > Model).
Have a look in tests/modeltests/mutually_referential/models.py in the source (these tests are a very good source for how to do stuff). Luke -- "Cross country skiing is great if you live in a small country." (Steven Wright) Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---