Refs #27778 -- Removed reference to ASCII usernames in django.contrib.auth.models.User docs.
This commit is contained in:
parent
235b681351
commit
505b7b6163
|
@ -35,14 +35,6 @@ Fields
|
||||||
``max_length=191`` because MySQL can only create unique indexes with
|
``max_length=191`` because MySQL can only create unique indexes with
|
||||||
191 characters in that case by default.
|
191 characters in that case by default.
|
||||||
|
|
||||||
.. admonition:: Usernames and Unicode
|
|
||||||
|
|
||||||
Django originally accepted only ASCII letters and numbers in
|
|
||||||
usernames. Although it wasn't a deliberate choice, Unicode
|
|
||||||
characters have always been accepted when using Python 3. Django
|
|
||||||
1.10 officially added Unicode support in usernames, keeping the
|
|
||||||
ASCII-only behavior on Python 2.
|
|
||||||
|
|
||||||
.. attribute:: first_name
|
.. attribute:: first_name
|
||||||
|
|
||||||
Optional (:attr:`blank=True <django.db.models.Field.blank>`). 150
|
Optional (:attr:`blank=True <django.db.models.Field.blank>`). 150
|
||||||
|
|
Loading…
Reference in New Issue