Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.6.x] Fixed #21727 -- Added some links to help clarify topics/auth/…

…default.txt

Thanks daGrevis for the suggestion.

Backport of d35f2bf from master
  • Loading branch information...
commit b63dad3f452d8331d6e0372192a8ed2fcda23815 1 parent f8d93f2
@timgraham timgraham authored
Showing with 9 additions and 8 deletions.
  1. +9 −8 docs/topics/auth/default.txt
View
17 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.

0 comments on commit b63dad3

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