Ticket #15827: auth.txt.diff
File auth.txt.diff, 974 bytes (added by , 14 years ago) |
---|
-
django-mine/docs/topics/auth.txt
479 479 :class:`~django.db.models.Field.OneToOneField` from your model to the 480 480 :class:`~django.contrib.auth.models.User` model. This will ensure only 481 481 one instance of your model can be created for each 482 :class:`~django.contrib.auth.models.User`. 482 :class:`~django.contrib.auth.models.User`. The OneToOneField should be 483 named 'user' for this to work. 483 484 484 485 To indicate that this model is the user profile model for a given site, fill in 485 486 the setting :setting:`AUTH_PROFILE_MODULE` with a string consisting of the … … 497 498 be:: 498 499 499 500 AUTH_PROFILE_MODULE = 'accounts.UserProfile' 501 500 502 501 503 When a user profile model has been defined and specified in this manner, each 502 504 :class:`~django.contrib.auth.models.User` object will have a method --