From d1bef5990502030d44280e26c0082b561efd782a Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 12 Aug 2007 03:01:37 +0000 Subject: [PATCH] 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 --- docs/model-api.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ```` (a single-line input).