Fixed #5110 -- Made a small clarification in docs/model-api.txt. Thanks, Jarek Zgoda

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-08-12 03:01:37 +00:00
parent 36be3febef
commit d1bef59905
1 changed files with 2 additions and 1 deletions

View File

@ -415,7 +415,8 @@ form::
models.SlugField(prepopulate_from=("pre_name", "name"))
``prepopulate_from`` doesn't accept DateTimeFields.
``prepopulate_from`` doesn't accept DateTimeFields, ForeignKeys nor
ManyToManyFields.
The admin represents ``SlugField`` as an ``<input type="text">`` (a
single-line input).