Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #15827 - Documented that OneToOneField in Profile should be nam…

…ed 'user'; thanks lawgon.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 127f1e4190265a3caf1a0dba6071582256feb2af 1 parent 367e51e
Tim Graham authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/topics/auth.txt
4  docs/topics/auth.txt
@@ -467,8 +467,8 @@ profile" -- for this purpose.
467 467
 To make use of this feature, define a model with fields for the
468 468
 additional information you'd like to store, or additional methods
469 469
 you'd like to have available, and also add a
470  
-:class:`~django.db.models.Field.OneToOneField` from your model to the
471  
-:class:`~django.contrib.auth.models.User` model. This will ensure only
  470
+:class:`~django.db.models.Field.OneToOneField` named ``user`` from your model
  471
+to the :class:`~django.contrib.auth.models.User` model. This will ensure only
472 472
 one instance of your model can be created for each
473 473
 :class:`~django.contrib.auth.models.User`.
474 474
 

0 notes on commit 127f1e4

Please sign in to comment.
Something went wrong with that request. Please try again.