Commit 9cf3048b authored by Luke Plant's avatar Luke Plant
Browse files

Fixed #3774 - primary_key=True does not, in fact, imply blank=False


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 6123f845
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -662,8 +662,8 @@ Django will automatically add this field::
Thus, you don't need to set ``primary_key=True`` on any of your fields
unless you want to override the default primary-key behavior.

``primary_key=True`` implies ``blank=False``, ``null=False`` and
``unique=True``. Only one primary key is allowed on an object.
``primary_key=True`` implies ``null=False`` and ``unique=True``. Only
one primary key is allowed on an object.

``radio_admin``
~~~~~~~~~~~~~~~