aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/fields.md
diff options
context:
space:
mode:
authorIan Foote2014-05-20 14:55:00 +0100
committerIan Foote2014-05-20 14:55:00 +0100
commit1e7b5fd2c04e587e30cf29e15ca3074b8d33b92e (patch)
tree5b619c86ab91b5e0d71f9f7e5bbcde36ebc45bae /docs/api-guide/fields.md
parent6c108c459d8cfeda46b8e045ef750c01dd0ffcaa (diff)
downloaddjango-rest-framework-1e7b5fd2c04e587e30cf29e15ca3074b8d33b92e.tar.bz2
Document ChoiceField blank_display_value parameter
Diffstat (limited to 'docs/api-guide/fields.md')
-rw-r--r--docs/api-guide/fields.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md
index 67fa65d2..58dbf977 100644
--- a/docs/api-guide/fields.md
+++ b/docs/api-guide/fields.md
@@ -184,7 +184,9 @@ Corresponds to `django.db.models.fields.SlugField`.
## ChoiceField
-A field that can accept a value out of a limited set of choices.
+A field that can accept a value out of a limited set of choices. Optionally takes a `blank_display_value` parameter that customizes the display value of an empty choice.
+
+**Signature:** `ChoiceField(choices=(), blank_display_value=None)`
## EmailField