Fixed #6944 -- Fixed a small typo in docs/model-api.txt. Thanks, julien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
96b1d0f966
commit
3859314d4a
|
@ -681,7 +681,7 @@ set.
|
|||
If ``True``, this field must be unique throughout the table.
|
||||
|
||||
This is enforced at the database level and at the Django admin-form level. If
|
||||
you try to add save a model with a duplicate value in a ``unique`` field, a
|
||||
you try to save a model with a duplicate value in a ``unique`` field, a
|
||||
``django.db.IntegrityError`` will be raised by the model's ``save()`` method.
|
||||
|
||||
``unique_for_date``
|
||||
|
|
Loading…
Reference in New Issue