aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTom Christie2014-01-09 09:21:35 -0800
committerTom Christie2014-01-09 09:21:35 -0800
commit593cf23ac8061efbc7cb72e2e0d29d277df2ef76 (patch)
treef3e04828594f491750e0f7986b47888a8f14921f /docs
parentc6182b78e583c4c3eef0a172d1711b9268722cf1 (diff)
parent052e236fde3453b33a4e651293da84e7d302cefb (diff)
downloaddjango-rest-framework-593cf23ac8061efbc7cb72e2e0d29d277df2ef76.tar.bz2
Merge pull request #1342 from yprez/fix_field_doc
Fix URL/Slug Field signatures in docs
Diffstat (limited to 'docs')
-rw-r--r--docs/api-guide/fields.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md
index e05c0306..91866664 100644
--- a/docs/api-guide/fields.md
+++ b/docs/api-guide/fields.md
@@ -167,13 +167,13 @@ or `django.db.models.fields.TextField`.
Corresponds to `django.db.models.fields.URLField`. Uses Django's `django.core.validators.URLValidator` for validation.
-**Signature:** `CharField(max_length=200, min_length=None)`
+**Signature:** `URLField(max_length=200, min_length=None)`
## SlugField
Corresponds to `django.db.models.fields.SlugField`.
-**Signature:** `CharField(max_length=50, min_length=None)`
+**Signature:** `SlugField(max_length=50, min_length=None)`
## ChoiceField