mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-27 03:54:01 +03:00
Fix URL/Slug Field signatures in docs
This commit is contained in:
parent
c6182b78e5
commit
052e236fde
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user