Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-04 | Make user profile a OneToOneFieldrelease_2010-10-05 | Dan McGee | |
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> |