aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide
diff options
context:
space:
mode:
authorTom Christie2013-05-24 21:08:27 +0100
committerTom Christie2013-05-24 21:08:27 +0100
commit78c53d530ff3d7a4a443b104ad73952d0b5b5b8b (patch)
treec1bb61bdb131dbf6c5c8879e5fd69da84c753685 /docs/api-guide
parent02b29267acd3e3afabe6497a6ed04b10888d8731 (diff)
downloaddjango-rest-framework-78c53d530ff3d7a4a443b104ad73952d0b5b5b8b.tar.bz2
Updating docs
Diffstat (limited to 'docs/api-guide')
-rw-r--r--docs/api-guide/fields.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md
index e117c370..b3208eb1 100644
--- a/docs/api-guide/fields.md
+++ b/docs/api-guide/fields.md
@@ -56,6 +56,13 @@ A dictionary of error codes to error messages.
Used only if rendering the field to HTML.
This argument sets the widget that should be used to render the field.
+### `label`
+
+A short text string that may be used as the name of the field in HTML form fields or other descriptive elements.
+
+### `help_text`
+
+A text string that may be used as a description of the field in HTML form fields or other descriptive elements.
---