diff --git a/topics/3.1-announcement/index.html b/topics/3.1-announcement/index.html index f134c3ebb..bb236e872 100644 --- a/topics/3.1-announcement/index.html +++ b/topics/3.1-announcement/index.html @@ -429,7 +429,7 @@
For more information, see the custom pagination styles documentation.
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. 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.
For example, when using NamespaceVersioning
, and the following hyperlinked serializer:
class AccountsSerializer(serializer.HyperlinkedModelSerializer):
@@ -451,7 +451,7 @@
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. 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:
LANGUAGE_CODE = "es-es"