diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2008-06-20 12:10:13 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2008-06-20 12:10:13 +0000 |
| commit | 9cf3048b0801aeefd5b5a78ad407b234265d1ffa (patch) | |
| tree | 54bdeab604ec56a95bee2d494eae8857437109f5 /docs | |
| parent | 6123f8455c045a21f8e6523b0cd2d0bda94d92f6 (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/model-api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt index 93c2a34399..89f5ffb812 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -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`` ~~~~~~~~~~~~~~~ |
