Loading docs/ref/models/fields.txt +37 −37 Original line number Diff line number Diff line Loading @@ -239,7 +239,7 @@ you try to save a model with a duplicate value in a :attr:`~Field.unique` field, a :exc:`django.db.IntegrityError` will be raised by the model's :meth:`~django.db.models.Model.save` method. This options is valid on all field types except :class:`ManyToManyField`. This option is valid on all field types except :class:`ManyToManyField`. ``unique_for_date`` ------------------- Loading Loading
docs/ref/models/fields.txt +37 −37 Original line number Diff line number Diff line Loading @@ -239,7 +239,7 @@ you try to save a model with a duplicate value in a :attr:`~Field.unique` field, a :exc:`django.db.IntegrityError` will be raised by the model's :meth:`~django.db.models.Model.save` method. This options is valid on all field types except :class:`ManyToManyField`. This option is valid on all field types except :class:`ManyToManyField`. ``unique_for_date`` ------------------- Loading