summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLucidiot <lucidiot@brainshit.fr>2022-03-31 14:39:28 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-04-01 11:39:41 +0200
commit13a9cde133ac82e33dd091ca9bb9c677804afbe1 (patch)
tree1b85c8c9e75d3aada9e513d6a0cf8e8347b5b82b /docs
parentae506181f7fb9d9e74f4935686540bef29b60255 (diff)
Fixed #33613 -- Made createsuperuser detect uniqueness of USERNAME_FIELD when using Meta.constraints.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth/customizing.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt
index ca1c39bd8e..382fc94a6b 100644
--- a/docs/topics/auth/customizing.txt
+++ b/docs/topics/auth/customizing.txt
@@ -548,7 +548,7 @@ password resets. You must then provide some key implementation details:
A string describing the name of the field on the user model that is
used as the unique identifier. This will usually be a username of some
kind, but it can also be an email address, or any other unique
- identifier. The field *must* be unique (i.e., have ``unique=True`` set
+ identifier. The field *must* be unique (e.g. have ``unique=True`` set
in its definition), unless you use a custom authentication backend that
can support non-unique usernames.