Ticket #7789: 7789_docs.diff

File 7789_docs.diff, 646 bytes (added by arne, 16 years ago)

Updated docs

  • model-api.txt

     
    681681you try to save a model with a duplicate value in a ``unique`` field, a
    682682``django.db.IntegrityError`` will be raised by the model's ``save()`` method.
    683683
     684In MySQL, declaring a CharField as unique will change the collation of
     685the field, as it becomes necessary to declare the field as BINARY to
     686support keys that only differ in case. If that is undesired, you can
     687manually alter the table to drop this binary attribute.
     688
    684689``unique_for_date``
    685690~~~~~~~~~~~~~~~~~~~
    686691
Back to Top