Fixed #318 -- Fixed typo in docs/model-api.txt. Thanks, django@sharpbanana.co.uk

git-svn-id: http://code.djangoproject.com/svn/django/trunk@508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-08-15 16:15:26 +00:00
parent 27986994ee
commit 56071754ea
1 changed files with 2 additions and 2 deletions

View File

@ -533,8 +533,8 @@ Field Types
Accepts an extra option, ``prepopulate_from``, which is a list of fields Accepts an extra option, ``prepopulate_from``, which is a list of fields
from which to auto-populate the slug, via JavaScript, in the object's admin from which to auto-populate the slug, via JavaScript, in the object's admin
form:: form::
meta.SlugField("slug", prepopulate_from=("pre_name", "name"), meta.SlugField("slug", prepopulate_from=("pre_name", "name")),
``SmallIntegerField`` ``SmallIntegerField``
Like an ``IntegerField``, but only allows values under a certain Like an ``IntegerField``, but only allows values under a certain