Commit 3859314d authored by Adrian Holovaty's avatar Adrian Holovaty
Browse files

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
parent 96b1d0f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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``