summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/model-api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index 46894d7a81..02d7d7a509 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -533,8 +533,8 @@ Field Types
Accepts an extra option, ``prepopulate_from``, which is a list of fields
from which to auto-populate the slug, via JavaScript, in the object's admin
form::
-
- meta.SlugField("slug", prepopulate_from=("pre_name", "name"),
+
+ meta.SlugField("slug", prepopulate_from=("pre_name", "name")),
``SmallIntegerField``
Like an ``IntegerField``, but only allows values under a certain