82eb9de993
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> |
||
---|---|---|
.. | ||
fixtures | ||
migrations | ||
templatetags | ||
__init__.py | ||
admin.py | ||
context_processors.py | ||
middleware.py | ||
models.py | ||
utils.py |