summaryrefslogtreecommitdiff
path: root/docs/model-api.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-11-06 22:53:07 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-11-06 22:53:07 +0000
commit911a6dfe04df57a1f33b533eb71e9624f1ed5f14 (patch)
treeb54aa8a23019879183eb0604276f3261b2627798 /docs/model-api.txt
parent029257874572c23455c66d2a9289df930c25c515 (diff)
Fixed #319 -- Updated docs/model-api.txt to note that prepopulate_from doesn't accept DateTimeFields
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/model-api.txt')
-rw-r--r--docs/model-api.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index edf94dd17c..b27a298d8e 100644
--- a/docs/model-api.txt
+++ b/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