Commit 4d27d72d authored by Jon Dufresne's avatar Jon Dufresne Committed by Tim Graham
Browse files

Refs #23964 -- Added warning about case-insensitive, unique fields used with formsets

parent 4468c08d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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
--------------------------