mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #18392 -- Changed default mysql encoding to "utf8mb4".
This commit is contained in:
parent
2debd018db
commit
9609b48b91
6 changed files with 28 additions and 35 deletions
|
@ -30,10 +30,7 @@ Fields
|
|||
|
||||
The ``max_length`` should be sufficient for many use cases. If you need
|
||||
a longer length, please use a :ref:`custom user model
|
||||
<specifying-custom-user-model>`. If you use MySQL with the ``utf8mb4``
|
||||
encoding (recommended for proper Unicode support), specify at most
|
||||
``max_length=191`` because MySQL can only create unique indexes with
|
||||
191 characters in that case by default.
|
||||
<specifying-custom-user-model>`.
|
||||
|
||||
.. attribute:: first_name
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue