On Tue, 2008-02-05 at 17:51 -0800, Vance Dubberly wrote: > The Documentation has said for as long as I can remember (a year+) > that the semantics of a the OneToOne relationship is going to change > soon. Any clue as to when this is going to change
Soon. > and/or what it's > going to look like? It will look behave like ForeignKey(unique=True), except that a reverse lookup will return the object on the reverse of the relation, not a list containing one object (reverse lookups on ForeignKeys always return a list, since it's one-to-many and we shouldn't change the return type just because of the unique flag there). Also, the restriction that OneToOneFields are implicitly primary keys will be removed, since there are cases where multiple one-to-one relations in a model are required. Malcolm -- I don't have a solution, but I admire your problem. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---