Hi,

I have got a Person model, and I need create a spouse field.

When editing Jane, I need to be able to John as her spouse. Jane
cannot have more than one spouse, and only one person can have Jane as
spouse. The relation needs to be symmetrical.

I have tried both ManyToOne and ForeignKey, but I don't seem to be
able to grok this.

Any suggestions?

--
Thomas / kalve
--~--~---------~--~----~------------~-------~--~----~
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