Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit d1bef5990502030d44280e26c0082b561efd782a 1 parent 36be3fe
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  docs/model-api.txt
View
3  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).
Please sign in to comment.
Something went wrong with that request. Please try again.