mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Fix up validators docs
This commit is contained in:
parent
2762205887
commit
254701230d
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
Most of the time you're dealing with validation in REST framework you'll simply be relying on the default field validation, or writing explicit validation methods on serializer or field classes.
|
Most of the time you're dealing with validation in REST framework you'll simply be relying on the default field validation, or writing explicit validation methods on serializer or field classes.
|
||||||
|
|
||||||
Sometimes you'll want to place your validation logic into reusable components, so that it can easily be reused throughout your codebase. This can be achieved by using validator functions and validator classes.
|
However, sometimes you'll want to place your validation logic into reusable components, so that it can easily be reused throughout your codebase. This can be achieved by using validator functions and validator classes.
|
||||||
|
|
||||||
## Validation in REST framework
|
## Validation in REST framework
|
||||||
|
|
||||||
|
|
|
@ -173,7 +173,7 @@ The API guide is your complete reference manual to all the functionality provide
|
||||||
* [Serializers][serializers]
|
* [Serializers][serializers]
|
||||||
* [Serializer fields][fields]
|
* [Serializer fields][fields]
|
||||||
* [Serializer relations][relations]
|
* [Serializer relations][relations]
|
||||||
* [Validation][validation]
|
* [Validators][validators]
|
||||||
* [Authentication][authentication]
|
* [Authentication][authentication]
|
||||||
* [Permissions][permissions]
|
* [Permissions][permissions]
|
||||||
* [Throttling][throttling]
|
* [Throttling][throttling]
|
||||||
|
|
|
@ -95,7 +95,7 @@ a.fusion-poweredby {
|
||||||
<li><a href="{{ base_url }}/api-guide/serializers{{ suffix }}">Serializers</a></li>
|
<li><a href="{{ base_url }}/api-guide/serializers{{ suffix }}">Serializers</a></li>
|
||||||
<li><a href="{{ base_url }}/api-guide/fields{{ suffix }}">Serializer fields</a></li>
|
<li><a href="{{ base_url }}/api-guide/fields{{ suffix }}">Serializer fields</a></li>
|
||||||
<li><a href="{{ base_url }}/api-guide/relations{{ suffix }}">Serializer relations</a></li>
|
<li><a href="{{ base_url }}/api-guide/relations{{ suffix }}">Serializer relations</a></li>
|
||||||
<li><a href="{{ base_url }}/api-guide/validation{{ suffix }}">Validation</a></li>
|
<li><a href="{{ base_url }}/api-guide/validators{{ suffix }}">Validators</a></li>
|
||||||
<li><a href="{{ base_url }}/api-guide/authentication{{ suffix }}">Authentication</a></li>
|
<li><a href="{{ base_url }}/api-guide/authentication{{ suffix }}">Authentication</a></li>
|
||||||
<li><a href="{{ base_url }}/api-guide/permissions{{ suffix }}">Permissions</a></li>
|
<li><a href="{{ base_url }}/api-guide/permissions{{ suffix }}">Permissions</a></li>
|
||||||
<li><a href="{{ base_url }}/api-guide/throttling{{ suffix }}">Throttling</a></li>
|
<li><a href="{{ base_url }}/api-guide/throttling{{ suffix }}">Throttling</a></li>
|
||||||
|
|
|
@ -59,7 +59,7 @@ path_list = [
|
||||||
'api-guide/serializers.md',
|
'api-guide/serializers.md',
|
||||||
'api-guide/fields.md',
|
'api-guide/fields.md',
|
||||||
'api-guide/relations.md',
|
'api-guide/relations.md',
|
||||||
'api-guide/validation.md',
|
'api-guide/validators.md',
|
||||||
'api-guide/authentication.md',
|
'api-guide/authentication.md',
|
||||||
'api-guide/permissions.md',
|
'api-guide/permissions.md',
|
||||||
'api-guide/throttling.md',
|
'api-guide/throttling.md',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user