summaryrefslogtreecommitdiffstats
path: root/main/migrations/0036_auto__chg_field_userprofile_user.py
AgeCommit message (Collapse)AuthorFilesLines
2010-10-05Make user profile a OneToOneFieldDan McGee1-0/+151
We had this set up as a unique ForeignKey before, which adds some indirection due to the RelatedManager object being there. By making it a OneToOneField, we can get the profile object directly, enforce uniqueness, and also use it in select_related() calls to make our profiles page a bit more efficient. Signed-off-by: Dan McGee <dan@archlinux.org>