summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth/customizing.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt
index 9120c6a1f0..8dd938e59a 100644
--- a/docs/topics/auth/customizing.txt
+++ b/docs/topics/auth/customizing.txt
@@ -726,6 +726,14 @@ utility methods:
Normalizes email addresses by lowercasing the domain portion of the
email address.
+ .. classmethod:: models.BaseUserManager.normalize_username(email)
+
+ .. versionadded:: 1.10
+
+ Applies NFKC Unicode normalization to usernames so that visually
+ identical characters with different Unicode code points are considered
+ identical.
+
.. method:: models.BaseUserManager.get_by_natural_key(username)
Retrieves a user instance using the contents of the field