On 17/02/10 08:53, bruno desthuilliers wrote:

user.get_profile().student.student_number or
user.get_profile().teacher.gender - but it works.

I'm becoming pretty vague on what advantage the userprofile mechanism offers over other one to one fields to User. Is it just a convention at this stage (now that one to one fields don't do dark magic to primary keys)?







--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@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