mirror of
https://github.com/django/django.git
synced 2025-04-15 12:54:38 +00:00
[1.7.x] Refs #23964 -- Added warning about case-insensitive, unique fields used with formsets
Backport of 4d27d72d149b714431b77f2f15bad1591a9602b7 from master
This commit is contained in:
parent
b249d4dcc7
commit
4862eb6e5b
@ -408,6 +408,13 @@ because it is more accurate.
|
||||
|
||||
.. _MySQL Unicode Character Sets: http://dev.mysql.com/doc/refman/5.7/en/charset-unicode-sets.html
|
||||
|
||||
.. warning::
|
||||
|
||||
Model formsets validate unique fields in a case-sensitive manner. Thus when
|
||||
using a case-insensitive collation, a formset with unique field values that
|
||||
differ only by case will pass validation, but upon calling ``save()``, an
|
||||
``IntegrityError`` will be raised.
|
||||
|
||||
Connecting to the database
|
||||
--------------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user