Ticket #7789: 7789_docs.diff
File 7789_docs.diff, 646 bytes (added by , 16 years ago) |
---|
-
model-api.txt
681 681 you try to save a model with a duplicate value in a ``unique`` field, a 682 682 ``django.db.IntegrityError`` will be raised by the model's ``save()`` method. 683 683 684 In MySQL, declaring a CharField as unique will change the collation of 685 the field, as it becomes necessary to declare the field as BINARY to 686 support keys that only differ in case. If that is undesired, you can 687 manually alter the table to drop this binary attribute. 688 684 689 ``unique_for_date`` 685 690 ~~~~~~~~~~~~~~~~~~~ 686 691