I had previously used OneToOne relationships and liked the auto mapping they did, as in the OP's example. I was told that OneToOne didn't work in some cases and was going away, and that I should use ForeignKey(unique=True) instead.
If there are technical problems with OneToOne and ForeignKey(unique=True) can behave like OneToOne without those problems after minimal changes as suggested here, we should go for it. On the other hand, if there's a preference to bring OneToOne back and fix any problems it has, I'm all for that as well. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
