mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 04:07:39 +03:00
Better docs linking
This commit is contained in:
parent
c511342047
commit
7efb2fd9ed
|
@ -52,7 +52,7 @@ For more information, see the [custom pagination styles](../api-guide/pagination
|
|||
|
||||
## Versioning
|
||||
|
||||
We've made it easier to build versioned APIs. Built-in schemes for versioning include both URL based and Accept header based variations.
|
||||
We've made it [easier to build versioned APIs][versioning]. Built-in schemes for versioning include both URL based and Accept header based variations.
|
||||
|
||||
When using a URL based scheme, hyperlinked serializers will resolve relationships to the same API version as used on the incoming request.
|
||||
|
||||
|
@ -80,7 +80,7 @@ The output representation would match the version used on the incoming request.
|
|||
|
||||
## Internationalization
|
||||
|
||||
REST framework now includes a built-in set of translations, and supports internationalized error responses. This allows you to either change the default language, or to allow clients to specify the language via the `Accept-Language` header.
|
||||
REST framework now includes a built-in set of translations, and [supports internationalized error responses][internationalization]. This allows you to either change the default language, or to allow clients to specify the language via the `Accept-Language` header.
|
||||
|
||||
You can change the default language by using the standard Django `LANGUAGE_CODE` setting:
|
||||
|
||||
|
@ -204,3 +204,5 @@ This will either be made as a single 3.2 release, or split across two separate r
|
|||
|
||||
[custom-exception-handler]: ../api-guide/exceptions.md#custom-exception-handling
|
||||
[pagination]: ../api-guide/pagination.md
|
||||
[versioning]: ../api-guide/versioning.md
|
||||
[internationalization]: internationalization.md
|
||||
|
|
Loading…
Reference in New Issue
Block a user