diff options
| author | Tim Graham <timograham@gmail.com> | 2017-02-11 13:39:35 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-04-07 20:02:20 -0400 |
| commit | c84b91b7603e488f7171fdff8f08368ef3d6b856 (patch) | |
| tree | 7bb2d0d7f047e267e0146c34f89fab4cdaffaf53 /docs/releases | |
| parent | d0315584b5ed6a47b486e65f6c88f80189f337ef (diff) | |
Refs #27807 -- Removed docs for User.username_validator.
The new override functionality claimed in refs #21379 doesn't work.
Forwardport of 714fdbaa7048c2321f6238d9421137c33d9af7cc from stable/1.10.x.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/1.10.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt index ccf791c856..a5193179ac 100644 --- a/docs/releases/1.10.txt +++ b/docs/releases/1.10.txt @@ -60,12 +60,11 @@ wasn't a deliberate choice, Unicode characters have always been accepted when using Python 3. The username validator now explicitly accepts Unicode characters by -default on Python 3 only. This default behavior can be overridden by changing -the :attr:`~django.contrib.auth.models.User.username_validator` attribute of -the ``User`` model, or to any proxy of that model, using either +default on Python 3 only. + +Custom user models may use the new :class:`~django.contrib.auth.validators.ASCIIUsernameValidator` or -:class:`~django.contrib.auth.validators.UnicodeUsernameValidator`. Custom user -models may also use those validators. +:class:`~django.contrib.auth.validators.UnicodeUsernameValidator`. Minor features -------------- |
