diff options
| author | Claude Paroz <claude@2xlibre.net> | 2016-04-22 21:17:42 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2016-05-16 19:38:02 +0200 |
| commit | 9935f97cd203bdcc722bc3d4e96858e221d96ff8 (patch) | |
| tree | bdc45bf056fc8ab8ff8bfeadf403d215aee699fb /docs/topics | |
| parent | 526575c64150e10dd8666d1ed3f86eedd00df2ed (diff) | |
Refs #21379 -- Normalized unicode username inputs
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/auth/customizing.txt | 8 |
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 |
