aboutsummaryrefslogtreecommitdiffstats
path: root/api-guide/fields.html
diff options
context:
space:
mode:
Diffstat (limited to 'api-guide/fields.html')
-rw-r--r--api-guide/fields.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/api-guide/fields.html b/api-guide/fields.html
index 458f879d..49e356e7 100644
--- a/api-guide/fields.html
+++ b/api-guide/fields.html
@@ -324,7 +324,8 @@ or <code>django.db.models.fields.TextField</code>.</p>
<p>Corresponds to <code>django.db.models.fields.SlugField</code>.</p>
<p><strong>Signature:</strong> <code>SlugField(max_length=50, min_length=None)</code></p>
<h2 id="choicefield">ChoiceField</h2>
-<p>A field that can accept a value out of a limited set of choices.</p>
+<p>A field that can accept a value out of a limited set of choices. Optionally takes a <code>blank_display_value</code> parameter that customizes the display value of an empty choice.</p>
+<p><strong>Signature:</strong> <code>ChoiceField(choices=(), blank_display_value=None)</code></p>
<h2 id="emailfield">EmailField</h2>
<p>A text representation, validates the text to be a valid e-mail address.</p>
<p>Corresponds to <code>django.db.models.fields.EmailField</code></p>