From 911a6dfe04df57a1f33b533eb71e9624f1ed5f14 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 6 Nov 2005 22:53:07 +0000 Subject: [PATCH] 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 --- docs/model-api.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ```` (a single-line input). + ``prepopulate_from`` doesn't accept DateTimeFields. + + The admin represents ``SlugField`` as an ```` (a + single-line input). ``SmallIntegerField`` Like an ``IntegerField``, but only allows values under a certain