diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-08-12 03:01:37 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-08-12 03:01:37 +0000 |
| commit | d1bef5990502030d44280e26c0082b561efd782a (patch) | |
| tree | 3984e158bc735e258bcda0d6d8306d21cbbeb8de /docs | |
| parent | 36be3febef28ac45404b59dd59aa6d9f0185acae (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/model-api.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt index ddeb481206..0f872c3097 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -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). |
