Permalink
Browse files

Fixed #5110 -- Made a small clarification in docs/model-api.txt. Than…

…ks, Jarek Zgoda

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 36be3fe commit d1bef5990502030d44280e26c0082b561efd782a @adrianholovaty adrianholovaty committed Aug 12, 2007
Showing with 2 additions and 1 deletion.
  1. +2 −1 docs/model-api.txt
View
@@ -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).

0 comments on commit d1bef59

Please sign in to comment.