post the traceback.  I may not be able to help you since I haven't
tried to do person-to-person at all.

it might be simpler to just do Friends and Idols (without using
through and without friends and idols being fields on Person)

and then add methods to Person that fetch those relationships.
or better, add methods to Friends or Idols to fetch them for a given
person.
this way also you can add more of types of relationships or deprec
some of them later without messing with Person.

person.friends_set should be there auto-magically anyway even without
the friends field on Person

and you probably don't want people to edit a Person on a form anyway
and select from a long list.
it would be an "add" or something, right ?




On Sep 30, 1:31 pm, chris <[EMAIL PROTECTED]> wrote:
> On Sep 30, 8:07 pm, felix <[EMAIL PROTECTED]> wrote:
>
> > are you actually getting a runtime error or an error when trying to
> > syncdb ?
>
> syncdb  works fine, but then I get a runtime error when I want to edit
> such a record in the admin interface.  The traceback complains about
> the two foreign keys in the Relationship table.
> BTW, I forgot to say that this is using the 1.0 release of django.
>
> Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to