summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien <adrien.glauser@gmail.com>2023-11-21 15:52:04 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-12-01 11:28:37 +0100
commitb8a476b7455868c627fd6cab18d6a5f5da49233e (patch)
tree2491daeec4c6ea69bc6039984fc9e681a0a70340
parent471fa926eaa1bb9270e0b0ad0cd8bdd93ea6f88f (diff)
[5.0.x] Improved wording in auth.models.User field docs.
Co-authored-by: Lily Foote <code@lilyf.org> Backport of 79099a7ba454581ab521fcb4ea61fc6ed3dccf26 from main
-rw-r--r--docs/ref/contrib/auth.txt17
1 files changed, 8 insertions, 9 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt
index be4960f1bf..482eed231b 100644
--- a/docs/ref/contrib/auth.txt
+++ b/docs/ref/contrib/auth.txt
@@ -67,14 +67,14 @@ Fields
.. attribute:: is_staff
- Boolean. Designates whether this user can access the admin site.
+ Boolean. Allows this user to access the admin site.
.. attribute:: is_active
- Boolean. Designates whether this user account should be considered
- active. We recommend that you set this flag to ``False`` instead of
- deleting accounts; that way, if your applications have any foreign keys
- to users, the foreign keys won't break.
+ Boolean. Marks this user account as active. We recommend that you set
+ this flag to ``False`` instead of deleting accounts. That way, if your
+ applications have any foreign keys to users, the foreign keys won't
+ break.
This doesn't necessarily control whether or not the user can log in.
Authentication backends aren't required to check for the ``is_active``
@@ -94,8 +94,8 @@ Fields
.. attribute:: is_superuser
- Boolean. Designates that this user has all permissions without
- explicitly assigning them.
+ Boolean. Treats this user as having all permissions without assigning
+ any permission to it in particular.
.. attribute:: last_login
@@ -103,8 +103,7 @@ Fields
.. attribute:: date_joined
- A datetime designating when the account was created. Is set to the
- current date/time by default when the account is created.
+ The date/time when the account was created.
Attributes
----------