Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…m doesn't accept DateTimeFields

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 911a6dfe04df57a1f33b533eb71e9624f1ed5f14 1 parent 0292578
@adrianholovaty adrianholovaty authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 docs/model-api.txt
View
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).
``SmallIntegerField``
Like an ``IntegerField``, but only allows values under a certain
Please sign in to comment.
Something went wrong with that request. Please try again.