@@ -34,12 +34,12 @@ Fields
3434
3535 .. admonition:: Usernames and Unicode
3636
37- Django originally accepted only ASCII letters in usernames.
38- Although it wasn't a deliberate choice, Unicode characters have
39- always been accepted when using Python 3. Django 1.10 officially
40- added Unicode support in usernames, keeping the ASCII-only behavior
41- on Python 2, with the option to customize the behavior using
42- :attr:`.User.username_validator`.
37+ Django originally accepted only ASCII letters and numbers in
38+ usernames. Although it wasn't a deliberate choice, Unicode
39+ characters have always been accepted when using Python 3. Django
40+ 1.10 officially added Unicode support in usernames, keeping the
41+ ASCII-only behavior on Python 2, with the option to customize the
42+ behavior using :attr:`.User.username_validator`.
4343
4444 .. versionchanged:: 1.10
4545
@@ -426,15 +426,15 @@ Validators
426426
427427 .. versionadded:: 1.10
428428
429- A field validator allowing only ASCII letters, in addition to ``@``, ``.``,
430- ``+``, ``-``, and ``_``. The default validator for ``User.username`` on
431- Python 2.
429+ A field validator allowing only ASCII letters and numbers , in addition to
430+ ``@``, ``.``, `` +``, ``-``, and ``_``. The default validator for
431+ ``User.username`` on Python 2.
432432
433433.. class:: validators.UnicodeUsernameValidator
434434
435435 .. versionadded:: 1.10
436436
437- A field validator allowing Unicode letters , in addition to ``@``, ``.``,
437+ A field validator allowing Unicode characters , in addition to ``@``, ``.``,
438438 ``+``, ``-``, and ``_``. The default validator for ``User.username`` on
439439 Python 3.
440440
0 commit comments