<p>For more information, see the <ahref="../../../api-guide/pagination/#custom-pagination-styles">custom pagination styles</a> documentation.</p>
<p>For more information, see the <ahref="../../../api-guide/pagination/#custom-pagination-styles">custom pagination styles</a> documentation.</p>
<hr/>
<hr/>
<h2id="versioning">Versioning</h2>
<h2id="versioning">Versioning</h2>
<p>We've made it easier to build versioned APIs. Built-in schemes for versioning include both URL based and Accept header based variations.</p>
<p>We've made it <ahref="../../api-guide/versioning">easier to build versioned APIs</a>. Built-in schemes for versioning include both URL based and Accept header based variations.</p>
<p>When using a URL based scheme, hyperlinked serializers will resolve relationships to the same API version as used on the incoming request.</p>
<p>When using a URL based scheme, hyperlinked serializers will resolve relationships to the same API version as used on the incoming request.</p>
<p>For example, when using <code>NamespaceVersioning</code>, and the following hyperlinked serializer:</p>
<p>For example, when using <code>NamespaceVersioning</code>, and the following hyperlinked serializer:</p>
<p>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 <code>Accept-Language</code> header.</p>
<p>REST framework now includes a built-in set of translations, and <ahref="../internationalization">supports internationalized error responses</a>. This allows you to either change the default language, or to allow clients to specify the language via the <code>Accept-Language</code> header.</p>
<p>You can change the default language by using the standard Django <code>LANGUAGE_CODE</code> setting:</p>
<p>You can change the default language by using the standard Django <code>LANGUAGE_CODE</code> setting:</p>