mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-17 03:51:03 +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.
|
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
|
## SlugField
|
||||||
|
|
||||||
Corresponds to `django.db.models.fields.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
|
## ChoiceField
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user