On Tue, 2011-06-21 at 12:49 +0100, Tom Evans wrote:
> >> It will still work perfectly with ForeignKey(unique=True),
> >
> > the docs say one2one
> >
> 
> That doesn't negate my statement.
> 
> You said that User.get_profile() will only work with OneToOneField,
> which is incorrect, it will also work with ForeignKey(unique=True).
> New code should always use OneToOneField though. 

true - I looked at the code and it does not rely on fk or one2one
methods
-- 
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/

-- 
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