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:54:04 -0500 |
| commit | 4d27d72d149b714431b77f2f15bad1591a9602b7 (patch) | |
| tree | 2ff2b51c2f01b9eb4ff42653b560a8e3091cf61e /docs/ref/databases.txt | |
| parent | 4468c08d70b5b722f3ebd4872909e56580ec7d68 (diff) | |
Refs #23964 -- Added warning about case-insensitive, unique fields used with formsets
Diffstat (limited to 'docs/ref/databases.txt')
| -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 2b36826e4b..05bb2da9ae 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -384,6 +384,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 -------------------------- |
