summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2011-05-04 23:44:26 +0000
committerTimo Graham <timograham@gmail.com>2011-05-04 23:44:26 +0000
commit127f1e4190265a3caf1a0dba6071582256feb2af (patch)
tree3f60e6d4a143293c982a6fa1681e99e66ba192dd /docs
parent367e51e6a1d0b6ffe5a9a6f2462ae146ad0b8d4e (diff)
Fixed #15827 - Documented that OneToOneField in Profile should be named 'user'; thanks lawgon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt
index 266e713725..5ecb7e5ee5 100644
--- a/docs/topics/auth.txt
+++ b/docs/topics/auth.txt
@@ -467,8 +467,8 @@ profile" -- for this purpose.
To make use of this feature, define a model with fields for the
additional information you'd like to store, or additional methods
you'd like to have available, and also add a
-:class:`~django.db.models.Field.OneToOneField` from your model to the
-:class:`~django.contrib.auth.models.User` model. This will ensure only
+:class:`~django.db.models.Field.OneToOneField` named ``user`` from your model
+to the :class:`~django.contrib.auth.models.User` model. This will ensure only
one instance of your model can be created for each
:class:`~django.contrib.auth.models.User`.