Ticket #9939: doc-t9939.diff

File doc-t9939.diff, 572 bytes (added by kratorius, 7 years ago)
  • docs/ref/models/fields.txt

    diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
    index 52508c7..a9639a5 100644
    a b you try to save a model with a duplicate value in a :attr:`~Field.unique` 
    239239field, a :exc:`django.db.IntegrityError` will be raised by the model's
    240240:meth:`~django.db.models.Model.save` method.
    241241
    242 This options is valid on all field types except :class:`ManyToManyField`.
     242This option is valid on all field types except :class:`ManyToManyField`.
    243243
    244244``unique_for_date``
    245245-------------------
Back to Top