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