On Thu, 2011-06-16 at 12:24 +0200, Ivo Brodien wrote: > This Django Book however is old and in the new one in Chapter 14: > Sessions, Users, and Registration the User Profile does not get > mentioned anymore. > > Also the first search result in google for “django user profile” is > James Bennetts blog entry where he also uses Foreign Key. > > What is the difference between Foreign Key (unique= true) and a > OneToOne field anyway?
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. -- 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.