aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/fields.md
diff options
context:
space:
mode:
authorSerhiy Voyt2014-06-27 18:10:50 +0300
committerSerhiy Voyt2014-06-27 18:10:50 +0300
commit3326ddc865154b0c09fc3bb0da2644f0dfc3bc24 (patch)
tree6df4c5adf05460fc2949e74efbc57dec80d789dc /docs/api-guide/fields.md
parent4e6a21344fd1fda28d1d63c5aa697fac5e9f8029 (diff)
parent636ae419be2882dbec8151b6baa60bde118faede (diff)
downloaddjango-rest-framework-3326ddc865154b0c09fc3bb0da2644f0dfc3bc24.tar.bz2
Merge branch 'master' into modelserialization-charfield-with-null
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