Skip to content
Browse files

Fixed #319 -- Updated docs/model-api.txt to note that prepopulate_fro…

…m doesn't accept DateTimeFields

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 0292578 commit 911a6dfe04df57a1f33b533eb71e9624f1ed5f14 @adrianholovaty adrianholovaty committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 docs/model-api.txt
5 docs/model-api.txt
@@ -387,7 +387,10 @@ Here are all available field types:
meta.SlugField(prepopulate_from=("pre_name", "name"))
- The admin represents this as an ``<input type="text">`` (a single-line input).
+ ``prepopulate_from`` doesn't accept DateTimeFields.
+ The admin represents ``SlugField`` as an ``<input type="text">`` (a
+ single-line input).
Like an ``IntegerField``, but only allows values under a certain

0 comments on commit 911a6df

Please sign in to comment.
Something went wrong with that request. Please try again.