diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/model-api.txt | 5 |
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 |
