#13158: Documentation still says to use ForeignKey with unique=True to add a UserProfile ---------------------------+------------------------------------------------ Reporter: hvdklauw | Owner: nobody Status: new | Milestone: Component: Documentation | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ The documentation says to extend the user model you should add a profile model with a foreignkey with unique=True to the user.
Is there a reason for doing this instead of a OneToOne field? The OneToOne field has the advantage that you can get the profile for the user directly. -- Ticket URL: <http://code.djangoproject.com/ticket/13158> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
