Ticket #9992: 9992.patch
File 9992.patch, 1.2 KB (added by , 16 years ago) |
---|
-
docs/topics/auth.txt
444 444 the setting :setting:`AUTH_PROFILE_MODULE` with a string consisting of the 445 445 following items, separated by a dot: 446 446 447 1. The (normalized to lower-case) name of the applicationin which the user448 profile model is defined (in other words, an all-lowercase version ofthe447 1. The name of the application (case sensitive) in which the user 448 profile model is defined (in other words, the 449 449 name which was passed to :djadmin:`manage.py startapp <startapp>` to create 450 450 the application). 451 451 452 2. The (normalized to lower-case) name of the modelclass.452 2. The name of the model (not case sensitive) class. 453 453 454 454 For example, if the profile model was a class named ``UserProfile`` and was 455 455 defined inside an application named ``accounts``, the appropriate setting would 456 456 be:: 457 457 458 AUTH_PROFILE_MODULE = 'accounts. userprofile'458 AUTH_PROFILE_MODULE = 'accounts.UserProfile' 459 459 460 460 When a user profile model has been defined and specified in this manner, each 461 461 :class:`~django.contrib.auth.models.User` object will have a method --