From 106c8db6f5cacf1e37978d5cf13c9fde3ca29ce9 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 12 Jun 2014 12:22:09 +0100 Subject: Latest docs build --- api-guide/fields.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'api-guide/fields.html') 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 django.db.models.fields.TextField.

Corresponds to django.db.models.fields.SlugField.

Signature: SlugField(max_length=50, min_length=None)

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

A text representation, validates the text to be a valid e-mail address.

Corresponds to django.db.models.fields.EmailField

-- cgit v1.2.3