Fixed #21727 -- Added some links to help clarify topics/auth/default.txt

Thanks daGrevis for the suggestion.
This commit is contained in:
Tim Graham 2014-01-16 07:16:09 -05:00
parent 9e5033b302
commit d35f2bfd5b
1 changed files with 9 additions and 8 deletions

View File

@ -25,17 +25,18 @@ User objects
authentication system. They typically represent the people interacting with authentication system. They typically represent the people interacting with
your site and are used to enable things like restricting access, registering your site and are used to enable things like restricting access, registering
user profiles, associating content with creators etc. Only one class of user user profiles, associating content with creators etc. Only one class of user
exists in Django's authentication framework, i.e., 'superusers' or admin exists in Django's authentication framework, i.e., :attr:`'superusers'
'staff' users are just user objects with special attributes set, not different <django.contrib.auth.models.User.is_superuser>` or admin :attr:`'staff'
classes of user objects. <django.contrib.auth.models.User.is_staff>` users are just user objects with
special attributes set, not different classes of user objects.
The primary attributes of the default user are: The primary attributes of the default user are:
* username * :attr:`~django.contrib.auth.models.User.username`
* password * :attr:`~django.contrib.auth.models.User.password`
* email * :attr:`~django.contrib.auth.models.User.email`
* first name * :attr:`~django.contrib.auth.models.User.first_name`
* last name * :attr:`~django.contrib.auth.models.User.last_name`
See the :class:`full API documentation <django.contrib.auth.models.User>` for See the :class:`full API documentation <django.contrib.auth.models.User>` for
full reference, the documentation that follows is more task oriented. full reference, the documentation that follows is more task oriented.