Django

Code

Changeset 7713

Show
Ignore:
Timestamp:
06/20/08 07:10:13 (4 months ago)
Author:
lukeplant
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/model-api.txt

    r7681 r7713  
    663663unless you want to override the default primary-key behavior. 
    664664 
    665 ``primary_key=True`` implies ``blank=False``, ``null=False`` and 
    666 ``unique=True``. Only one primary key is allowed on an object. 
     665``primary_key=True`` implies ``null=False`` and ``unique=True``. Only 
     666one primary key is allowed on an object. 
    667667 
    668668``radio_admin``