diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2014-12-08 07:49:35 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-12-08 12:58:26 -0500 |
| commit | 4862eb6e5b6dae63e5c156fa1095c5b87503620b (patch) | |
| tree | c1f5a18a28e3b3b49aed02a33baad6f58461edd1 /docs/ref | |
| parent | b249d4dcc780a99e1cfc8d1ef09f6643e7262350 (diff) | |
[1.7.x] Refs #23964 -- Added warning about case-insensitive, unique fields used with formsets
Backport of 4d27d72d149b714431b77f2f15bad1591a9602b7 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/databases.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index b0396dea08..24e593569e 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -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 -------------------------- |
