Deployed 0d0be84 with MkDocs version: 1.6.0

This commit is contained in:
2025-08-15 11:28:25 +00:00
parent a71f564666
commit f4f6f9b1c8
74 changed files with 183 additions and 183 deletions

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small disabled" rel="next" >
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../permissions/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -546,7 +546,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/authentication.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/authentication.py">
<span class="label label-info">authentication.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../throttling/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../metadata/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -454,7 +454,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/negotiation.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/negotiation.py">
<span class="label label-info">negotiation.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../status-codes/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -518,7 +518,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/exceptions.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/exceptions.py">
<span class="label label-info">exceptions.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../relations/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -640,7 +640,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/fields.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/fields.py">
<span class="label label-info">fields.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../pagination/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -520,7 +520,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/filters.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/filters.py">
<span class="label label-info">filters.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../reverse/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -448,7 +448,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/urlpatterns.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/urlpatterns.py">
<span class="label label-info">urlpatterns.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../viewsets/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -548,11 +548,11 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/mixins.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/mixins.py">
<span class="label label-info">mixins.py</span>
</a>
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/generics.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/generics.py">
<span class="label label-info">generics.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../schemas/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -464,7 +464,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/metadata.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/metadata.py">
<span class="label label-info">metadata.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../versioning/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -504,7 +504,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/pagination.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/pagination.py">
<span class="label label-info">pagination.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../renderers/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -510,7 +510,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/parsers.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/parsers.py">
<span class="label label-info">parsers.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../caching/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -540,7 +540,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/permissions.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/permissions.py">
<span class="label label-info">permissions.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../validators/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -544,7 +544,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/relations.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/relations.py">
<span class="label label-info">relations.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../serializers/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -576,7 +576,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/renderers.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/renderers.py">
<span class="label label-info">renderers.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../responses/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -510,7 +510,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/request.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/request.py">
<span class="label label-info">request.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../views/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -490,7 +490,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/response.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/response.py">
<span class="label label-info">response.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../exceptions/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -444,7 +444,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/reverse.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/reverse.py">
<span class="label label-info">reverse.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../parsers/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -490,7 +490,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/routers.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/routers.py">
<span class="label label-info">routers.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../format-suffixes/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -452,7 +452,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/schemas">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/schemas">
<span class="label label-info">schemas</span>
</a>
@ -643,9 +643,9 @@ accessible via the <code>schema</code> attribute on <code>APIView</code>.</p>
<p><code>AutoSchema</code> provides the OpenAPI elements needed for each view, request method
and path:</p>
<ul>
<li>A list of <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#componentsObject">OpenAPI components</a>. In DRF terms these are
<li>A list of <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#componentsObject">OpenAPI components</a>. In DRF terms these are
mappings of serializers that describe request and response bodies.</li>
<li>The appropriate <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#operationObject">OpenAPI operation object</a> that describes
<li>The appropriate <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#operationObject">OpenAPI operation object</a> that describes
the endpoint, including path and query parameters for pagination, filtering,
and so on.</li>
</ul>
@ -759,13 +759,13 @@ the tag <code>users</code>.</p>
<p>You can pass an <code>__init__()</code> kwarg to manually specify tags (see below), or
override <code>get_tags()</code> to provide custom logic.</p>
<h4 id="get_operation"><a class="toclink" href="#get_operation"><code>get_operation()</code></a></h4>
<p>Returns the <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#operationObject">OpenAPI operation object</a> that describes the
<p>Returns the <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#operationObject">OpenAPI operation object</a> that describes the
endpoint, including path and query parameters for pagination, filtering, and so
on.</p>
<p>Together with <code>get_components()</code>, this is the main entry point to the view
introspection.</p>
<h4 id="get_operation_id"><a class="toclink" href="#get_operation_id"><code>get_operation_id()</code></a></h4>
<p>There must be a unique <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#fixed-fields-17">operationid</a> for each operation.
<p>There must be a unique <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#fixed-fields-17">operationid</a> for each operation.
By default the <code>operationId</code> is deduced from the model name, serializer name or
view name. The operationId looks like "listItems", "retrieveItem",
"updateItem", etc. The <code>operationId</code> is camelCase by convention.</p>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../fields/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -664,7 +664,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/serializers.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/serializers.py">
<span class="label label-info">serializers.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../../topics/documenting-your-api/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -494,7 +494,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/settings.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/settings.py">
<span class="label label-info">settings.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../testing/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -460,7 +460,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/status.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/status.py">
<span class="label label-info">status.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../settings/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -552,7 +552,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/test.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/test.py">
<span class="label label-info">test.py</span>
</a>
@ -718,7 +718,7 @@ assert response.status_code == 200
<p>If you're using <code>RequestsClient</code> you'll want to ensure that test setup, and results assertions are performed as regular API calls, rather than interacting with the database models directly. For example, rather than checking that <code>Customer.objects.count() == 3</code> you would list the customers endpoint, and ensure that it contains three records.</p>
<h2 id="headers-authentication"><a class="toclink" href="#headers-authentication">Headers &amp; Authentication</a></h2>
<p>Custom headers and authentication credentials can be provided in the same way
as <a href="https://requests.readthedocs.io/en/master/user/advanced/#session-objects">when using a standard <code>requests.Session</code> instance</a>.</p>
as <a href="https://requests.readthedocs.io/en/latest/user/advanced/#session-objects">when using a standard <code>requests.Session</code> instance</a>.</p>
<pre><code>from requests.auth import HTTPBasicAuth
client.auth = HTTPBasicAuth('user', 'pass')

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../filtering/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -484,7 +484,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/throttling.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/throttling.py">
<span class="label label-info">throttling.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../authentication/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -506,7 +506,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/validators.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/validators.py">
<span class="label label-info">validators.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../content-negotiation/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -480,7 +480,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/versioning.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/versioning.py">
<span class="label label-info">versioning.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../generic-views/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -470,11 +470,11 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/decorators.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/decorators.py">
<span class="label label-info">decorators.py</span>
</a>
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/views.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/views.py">
<span class="label label-info">views.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../routers/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -488,7 +488,7 @@
<a class="github" href="https://github.com/encode/django-rest-framework/tree/master/rest_framework/viewsets.py">
<a class="github" href="https://github.com/encode/django-rest-framework/tree/main/rest_framework/viewsets.py">
<span class="label label-info">viewsets.py</span>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../kickstarter-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -490,7 +490,7 @@
<li>Simple model serializers that are vastly easier to understand and debug, and that make it easy to switch between the implicit <code>ModelSerializer</code> class and the explicit <code>Serializer</code> class.</li>
<li>A new <code>BaseSerializer</code> class, making it easier to write serializers for alternative storage backends, or to completely customize your serialization and validation logic.</li>
<li>A cleaner fields API including new classes such as <code>ListField</code> and <code>MultipleChoiceField</code>.</li>
<li><a href="https://github.com/encode/django-rest-framework/blob/master/rest_framework/mixins.py">Super simple default implementations</a> for the generic views.</li>
<li><a href="https://github.com/encode/django-rest-framework/blob/main/rest_framework/mixins.py">Super simple default implementations</a> for the generic views.</li>
<li>Support for overriding how validation errors are handled by your API.</li>
<li>A metadata API that allows you to customize how <code>OPTIONS</code> requests are handled by your API.</li>
<li>A more compact JSON output with unicode style encoding turned on by default.</li>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.0-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.9-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.10-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.11-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.12-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.13-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.14-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.15-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.1-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.2-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.3-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.4-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.5-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.6-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.7-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.8-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../project-management/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -582,7 +582,7 @@ pip install -r requirements.txt
<h2 id="managing-compatibility-issues"><a class="toclink" href="#managing-compatibility-issues">Managing compatibility issues</a></h2>
<p>Sometimes, in order to ensure your code works on various different versions of Django, Python or third party libraries, you'll need to run slightly different code depending on the environment. Any code that branches in this way should be isolated into the <code>compat.py</code> module, and should provide a single common interface that the rest of the codebase can use.</p>
<h1 id="documentation"><a class="toclink" href="#documentation">Documentation</a></h1>
<p>The documentation for REST framework is built from the <a href="https://daringfireball.net/projects/markdown/basics">Markdown</a> source files in <a href="https://github.com/encode/django-rest-framework/tree/master/docs">the docs directory</a>.</p>
<p>The documentation for REST framework is built from the <a href="https://daringfireball.net/projects/markdown/basics">Markdown</a> source files in <a href="https://github.com/encode/django-rest-framework/tree/main/docs">the docs directory</a>.</p>
<p>There are many great Markdown editors that make working with the documentation really easy. The <a href="http://mouapp.com/">Mou editor for Mac</a> is one such editor that comes highly recommended.</p>
<h2 id="building-the-documentation"><a class="toclink" href="#building-the-documentation">Building the documentation</a></h2>
<p>To build the documentation, install MkDocs with <code>pip install mkdocs</code> and then run the following command.</p>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../jobs/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small disabled" rel="next" >
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../mozilla-grant/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../funding/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../release-notes/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -480,7 +480,7 @@
</ul>
<p>Further notes for maintainers:</p>
<ul>
<li>Code changes should come in the form of a pull request - do not push directly to master.</li>
<li>Code changes should come in the form of a pull request - do not push directly to main.</li>
<li>Maintainers should typically not merge their own pull requests.</li>
<li>Each issue/pull request should have exactly one label once triaged.</li>
<li>Search for un-triaged issues with <a href="https://github.com/encode/django-rest-framework/issues?q=is%3Aopen+no%3Alabel">is:open no:label</a>.</li>
@ -504,14 +504,14 @@ During development cycle:
Checklist:
- [ ] Create pull request for [release notes](https://github.com/encode/django-rest-framework/blob/master/docs/topics/release-notes.md) based on the [*.*.* milestone](https://github.com/encode/django-rest-framework/milestones/***).
- [ ] Create pull request for [release notes](https://github.com/encode/django-rest-framework/blob/mains/docs/topics/release-notes.md) based on the [*.*.* milestone](https://github.com/encode/django-rest-framework/milestones/***).
- [ ] Update supported versions:
- [ ] `setup.py` `python_requires` list
- [ ] `setup.py` Python &amp; Django version trove classifiers
- [ ] `README` Python &amp; Django versions
- [ ] `docs` Python &amp; Django versions
- [ ] Update the translations from [transifex](https://www.django-rest-framework.org/topics/project-management/#translations).
- [ ] Ensure the pull request increments the version to `*.*.*` in [`restframework/__init__.py`](https://github.com/encode/django-rest-framework/blob/master/rest_framework/__init__.py).
- [ ] Ensure the pull request increments the version to `*.*.*` in [`restframework/__init__.py`](https://github.com/encode/django-rest-framework/blob/main/rest_framework/__init__.py).
- [ ] Ensure documentation validates
- Build and serve docs `mkdocs serve`
- Validate links `pylinkvalidate.py -P http://127.0.0.1:8000`

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3.16-announcement/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../contributing/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -465,7 +465,7 @@
<h2 id="creating-a-third-party-package"><a class="toclink" href="#creating-a-third-party-package">Creating a Third Party Package</a></h2>
<h3 id="version-compatibility"><a class="toclink" href="#version-compatibility">Version compatibility</a></h3>
<p>Sometimes, in order to ensure your code works on various different versions of Django, Python or third party libraries, you'll need to run slightly different code depending on the environment. Any code that branches in this way should be isolated into a <code>compat.py</code> module, and should provide a single common interface that the rest of the codebase can use.</p>
<p>Check out Django REST framework's <a href="https://github.com/encode/django-rest-framework/blob/master/rest_framework/compat.py">compat.py</a> for an example.</p>
<p>Check out Django REST framework's <a href="https://github.com/encode/django-rest-framework/blob/main/rest_framework/compat.py">compat.py</a> for an example.</p>
<h3 id="once-your-package-is-available"><a class="toclink" href="#once-your-package-is-available">Once your package is available</a></h3>
<p>Once your package is decently documented and available on PyPI, you might want share it with others that might find it useful.</p>
<h4 id="adding-to-the-django-rest-framework-grid"><a class="toclink" href="#adding-to-the-django-rest-framework-grid">Adding to the Django REST framework grid</a></h4>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../third-party-packages/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="tutorial/quickstart/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

File diff suppressed because one or more lines are too long

View File

@ -2,352 +2,352 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.django-rest-framework.org/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/authentication/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/caching/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/content-negotiation/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/exceptions/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/fields/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/filtering/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/format-suffixes/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/generic-views/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/metadata/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/pagination/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/parsers/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/permissions/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/relations/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/renderers/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/requests/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/responses/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/reverse/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/routers/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/schemas/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/serializers/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/settings/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/status-codes/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/testing/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/throttling/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/validators/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/versioning/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/views/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/api-guide/viewsets/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.0-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.1-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.10-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.11-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.12-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.13-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.14-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.15-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.16-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.2-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.3-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.4-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.5-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.6-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.7-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.8-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/3.9-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/contributing/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/funding/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/jobs/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/kickstarter-announcement/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/mozilla-grant/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/project-management/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/release-notes/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/third-party-packages/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/community/tutorials-and-resources/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/topics/ajax-csrf-cors/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/topics/browsable-api/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/topics/browser-enhancements/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/topics/documenting-your-api/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/topics/html-and-forms/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/topics/internationalization/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/topics/rest-hypermedia-hateoas/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/topics/writable-nested-serializers/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/tutorial/1-serialization/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/tutorial/2-requests-and-responses/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/tutorial/3-class-based-views/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/tutorial/5-relationships-and-hyperlinked-apis/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/tutorial/6-viewsets-and-routers/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.django-rest-framework.org/tutorial/quickstart/</loc>
<lastmod>2025-08-12</lastmod>
<lastmod>2025-08-15</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

Binary file not shown.

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../html-and-forms/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../rest-hypermedia-hateoas/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../browsable-api/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../internationalization/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../browser-enhancements/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../ajax-csrf-cors/">
Next <i class="icon-arrow-right icon-white"></i>
</a>
@ -512,7 +512,7 @@ Host: example.org
<p>Now create a subfolder for the language you want to translate. The folder should be named using <a href="https://docs.djangoproject.com/en/stable/topics/i18n/#term-locale-name">locale name</a> notation. For example: <code>de</code>, <code>pt_BR</code>, <code>es_AR</code>.</p>
</li>
<li>
<p>Now copy the <a href="https://raw.githubusercontent.com/encode/django-rest-framework/master/rest_framework/locale/en_US/LC_MESSAGES/django.po">base translations file</a> from the REST framework source code into your translations folder.</p>
<p>Now copy the <a href="https://raw.githubusercontent.com/encode/django-rest-framework/main/rest_framework/locale/en_US/LC_MESSAGES/django.po">base translations file</a> from the REST framework source code into your translations folder.</p>
</li>
<li>
<p>Edit the <code>django.po</code> file you've just copied, translating all the error messages.</p>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../../community/tutorials-and-resources/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small disabled" rel="next" >
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../2-requests-and-responses/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../3-class-based-views/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../4-authentication-and-permissions/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../5-relationships-and-hyperlinked-apis/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../6-viewsets-and-routers/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../../api-guide/requests/">
Next <i class="icon-arrow-right icon-white"></i>
</a>

View File

@ -53,7 +53,7 @@
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework/tree/master">GitHub</a>
<a class="repo-link btn btn-primary btn-small" href="https://github.com/encode/django-rest-framework">GitHub</a>
<a class="repo-link btn btn-inverse btn-small " rel="next" href="../1-serialization/">
Next <i class="icon-arrow-right icon-white"></i>
</a>