Refs #27778 -- Removed reference to ASCII usernames in django.contrib.auth.models.User docs.

This commit is contained in:
David Smith 2020-05-01 05:11:27 +01:00 committed by GitHub
parent 235b681351
commit 505b7b6163
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -35,14 +35,6 @@ Fields
``max_length=191`` because MySQL can only create unique indexes with
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
Optional (:attr:`blank=True <django.db.models.Field.blank>`). 150