On Thu, Jun 16, 2011 at 11:55 AM, Kenneth Gonsalves
<law...@thenilgiris.com> wrote:
> those entries are old. The point is that the built in User.get_profile()
> only works with onetoone. The difference is in the reverse lookup.

That is not correct.

It will still work perfectly with ForeignKey(unique=True), it is just
better to use a OneToOneField, because of the better handling of the
inverse relation, cleaner and clearer syntax, etc.

Cheers

Tom

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to