From 9935f97cd203bdcc722bc3d4e96858e221d96ff8 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Fri, 22 Apr 2016 21:17:42 +0200 Subject: Refs #21379 -- Normalized unicode username inputs --- docs/topics/auth/customizing.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs') 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 -- cgit v1.3