summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-01-16 07:16:09 -0500
committerTim Graham <timograham@gmail.com>2014-01-16 07:16:09 -0500
commitd35f2bfd5b3a73340275bbd2af5065cba8d42c97 (patch)
tree1c3d3a458ed34d054e75ea8e316b20de3b54e543 /docs
parent9e5033b302676856901a7808910fcab5c3fe1d27 (diff)
Fixed #21727 -- Added some links to help clarify topics/auth/default.txt
Thanks daGrevis for the suggestion.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth/default.txt17
1 files changed, 9 insertions, 8 deletions
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt
index 58207b6365..2c0ce45482 100644
--- a/docs/topics/auth/default.txt
+++ b/docs/topics/auth/default.txt
@@ -25,17 +25,18 @@ User objects
authentication system. They typically represent the people interacting with
your site and are used to enable things like restricting access, registering
user profiles, associating content with creators etc. Only one class of user
-exists in Django's authentication framework, i.e., 'superusers' or admin
-'staff' users are just user objects with special attributes set, not different
-classes of user objects.
+exists in Django's authentication framework, i.e., :attr:`'superusers'
+<django.contrib.auth.models.User.is_superuser>` or admin :attr:`'staff'
+<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:
-* username
-* password
-* email
-* first name
-* last name
+* :attr:`~django.contrib.auth.models.User.username`
+* :attr:`~django.contrib.auth.models.User.password`
+* :attr:`~django.contrib.auth.models.User.email`
+* :attr:`~django.contrib.auth.models.User.first_name`
+* :attr:`~django.contrib.auth.models.User.last_name`
See the :class:`full API documentation <django.contrib.auth.models.User>` for
full reference, the documentation that follows is more task oriented.