mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-11-01 00:17:40 +03:00
Deployed 2ca3b7f with MkDocs version: 1.6.0
This commit is contained in:
parent
3d04f65098
commit
d8260e59de
|
|
@ -429,10 +429,6 @@
|
||||||
<a href="#release-process">Release process</a>
|
<a href="#release-process">Release process</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="#translations">Translations</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="#project-requirements">Project requirements</a>
|
<a href="#project-requirements">Project requirements</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
@ -497,11 +493,6 @@
|
||||||
<pre><code>Release manager is @***.
|
<pre><code>Release manager is @***.
|
||||||
Pull request is #***.
|
Pull request is #***.
|
||||||
|
|
||||||
During development cycle:
|
|
||||||
|
|
||||||
- [ ] Upload the new content to be translated to [transifex](https://www.django-rest-framework.org/topics/project-management/#translations).
|
|
||||||
|
|
||||||
|
|
||||||
Checklist:
|
Checklist:
|
||||||
|
|
||||||
- [ ] 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/***).
|
- [ ] 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/***).
|
||||||
|
|
@ -510,7 +501,6 @@ Checklist:
|
||||||
- [ ] `pyproject.toml` Python & Django version trove classifiers
|
- [ ] `pyproject.toml` Python & Django version trove classifiers
|
||||||
- [ ] `README` Python & Django versions
|
- [ ] `README` Python & Django versions
|
||||||
- [ ] `docs` Python & Django versions
|
- [ ] `docs` Python & 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/main/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
|
- [ ] Ensure documentation validates
|
||||||
- Build and serve docs `mkdocs serve`
|
- Build and serve docs `mkdocs serve`
|
||||||
|
|
@ -531,44 +521,6 @@ To modify this process for future releases make a pull request to the [project m
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>When pushing the release to PyPI ensure that your environment has been installed from our development <code>requirement.txt</code>, so that documentation and PyPI installs are consistently being built against a pinned set of packages.</p>
|
<p>When pushing the release to PyPI ensure that your environment has been installed from our development <code>requirement.txt</code>, so that documentation and PyPI installs are consistently being built against a pinned set of packages.</p>
|
||||||
<hr />
|
<hr />
|
||||||
<h2 id="translations"><a class="toclink" href="#translations">Translations</a></h2>
|
|
||||||
<p>The maintenance team are responsible for managing the translation packs include in REST framework. Translating the source strings into multiple languages is managed through the <a href="https://www.transifex.com/projects/p/django-rest-framework/">transifex service</a>.</p>
|
|
||||||
<h3 id="managing-transifex"><a class="toclink" href="#managing-transifex">Managing Transifex</a></h3>
|
|
||||||
<p>The <a href="https://pypi.org/project/transifex-client/">official Transifex client</a> is used to upload and download translations to Transifex. The client is installed using pip:</p>
|
|
||||||
<pre><code>pip install transifex-client
|
|
||||||
</code></pre>
|
|
||||||
<p>To use it you'll need a login to Transifex which has a password, and you'll need to have administrative access to the Transifex project. You'll need to create a <code>~/.transifexrc</code> file which contains your credentials.</p>
|
|
||||||
<pre><code>[https://www.transifex.com]
|
|
||||||
username = ***
|
|
||||||
token = ***
|
|
||||||
password = ***
|
|
||||||
hostname = https://www.transifex.com
|
|
||||||
</code></pre>
|
|
||||||
<h3 id="upload-new-source-files"><a class="toclink" href="#upload-new-source-files">Upload new source files</a></h3>
|
|
||||||
<p>When any user visible strings are changed, they should be uploaded to Transifex so that the translators can start to translate them. To do this, just run:</p>
|
|
||||||
<pre><code># 1. Update the source django.po file, which is the US English version.
|
|
||||||
cd rest_framework
|
|
||||||
django-admin makemessages -l en_US
|
|
||||||
# 2. Push the source django.po file to Transifex.
|
|
||||||
cd ..
|
|
||||||
tx push -s
|
|
||||||
</code></pre>
|
|
||||||
<p>When pushing source files, Transifex will update the source strings of a resource to match those from the new source file.</p>
|
|
||||||
<p>Here's how differences between the old and new source files will be handled:</p>
|
|
||||||
<ul>
|
|
||||||
<li>New strings will be added.</li>
|
|
||||||
<li>Modified strings will be added as well.</li>
|
|
||||||
<li>Strings which do not exist in the new source file will be removed from the database, along with their translations. If that source strings gets re-added later then <a href="http://docs.transifex.com/guides/tm#let-tm-automatically-populate-translations">Transifex Translation Memory</a> will automatically include the translation string.</li>
|
|
||||||
</ul>
|
|
||||||
<h3 id="download-translations"><a class="toclink" href="#download-translations">Download translations</a></h3>
|
|
||||||
<p>When a translator has finished translating their work needs to be downloaded from Transifex into the REST framework repository. To do this, run:</p>
|
|
||||||
<pre><code># 3. Pull the translated django.po files from Transifex.
|
|
||||||
tx pull -a --minimum-perc 10
|
|
||||||
cd rest_framework
|
|
||||||
# 4. Compile the binary .mo files for all supported languages.
|
|
||||||
django-admin compilemessages
|
|
||||||
</code></pre>
|
|
||||||
<hr />
|
|
||||||
<h2 id="project-requirements"><a class="toclink" href="#project-requirements">Project requirements</a></h2>
|
<h2 id="project-requirements"><a class="toclink" href="#project-requirements">Project requirements</a></h2>
|
||||||
<p>All our test requirements are pinned to exact versions, in order to ensure that our test runs are reproducible. We maintain the requirements in the <code>requirements</code> directory. The requirements files are referenced from the <code>tox.ini</code> configuration file, ensuring we have a single source of truth for package versions used in testing.</p>
|
<p>All our test requirements are pinned to exact versions, in order to ensure that our test runs are reproducible. We maintain the requirements in the <code>requirements</code> directory. The requirements files are referenced from the <code>tox.ini</code> configuration file, ensuring we have a single source of truth for package versions used in testing.</p>
|
||||||
<p>Package upgrades should generally be treated as isolated pull requests. You can check if there are any packages available at a newer version, by using the <code>pip list --outdated</code>.</p>
|
<p>Package upgrades should generally be treated as isolated pull requests. You can check if there are any packages available at a newer version, by using the <code>pip list --outdated</code>.</p>
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
140
sitemap.xml
140
sitemap.xml
|
|
@ -2,352 +2,352 @@
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/</loc>
|
<loc>https://www.django-rest-framework.org/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/authentication/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/authentication/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/caching/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/caching/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/content-negotiation/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/content-negotiation/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/exceptions/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/exceptions/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/fields/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/fields/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/filtering/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/filtering/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/format-suffixes/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/format-suffixes/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/generic-views/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/generic-views/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/metadata/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/metadata/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/pagination/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/pagination/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/parsers/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/parsers/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/permissions/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/permissions/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/relations/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/relations/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/renderers/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/renderers/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/requests/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/requests/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/responses/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/responses/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/reverse/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/reverse/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/routers/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/routers/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/schemas/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/schemas/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/serializers/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/serializers/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/settings/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/settings/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/status-codes/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/status-codes/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/testing/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/testing/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/throttling/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/throttling/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/validators/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/validators/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/versioning/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/versioning/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/views/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/views/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/api-guide/viewsets/</loc>
|
<loc>https://www.django-rest-framework.org/api-guide/viewsets/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.0-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.0-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.1-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.1-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.10-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.10-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.11-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.11-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.12-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.12-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.13-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.13-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.14-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.14-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.15-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.15-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.16-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.16-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.2-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.2-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.3-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.3-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.4-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.4-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.5-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.5-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.6-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.6-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.7-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.7-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.8-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.8-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/3.9-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/3.9-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/contributing/</loc>
|
<loc>https://www.django-rest-framework.org/community/contributing/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/funding/</loc>
|
<loc>https://www.django-rest-framework.org/community/funding/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/jobs/</loc>
|
<loc>https://www.django-rest-framework.org/community/jobs/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/kickstarter-announcement/</loc>
|
<loc>https://www.django-rest-framework.org/community/kickstarter-announcement/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/mozilla-grant/</loc>
|
<loc>https://www.django-rest-framework.org/community/mozilla-grant/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/project-management/</loc>
|
<loc>https://www.django-rest-framework.org/community/project-management/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/release-notes/</loc>
|
<loc>https://www.django-rest-framework.org/community/release-notes/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/third-party-packages/</loc>
|
<loc>https://www.django-rest-framework.org/community/third-party-packages/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/community/tutorials-and-resources/</loc>
|
<loc>https://www.django-rest-framework.org/community/tutorials-and-resources/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/topics/ajax-csrf-cors/</loc>
|
<loc>https://www.django-rest-framework.org/topics/ajax-csrf-cors/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/topics/browsable-api/</loc>
|
<loc>https://www.django-rest-framework.org/topics/browsable-api/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/topics/browser-enhancements/</loc>
|
<loc>https://www.django-rest-framework.org/topics/browser-enhancements/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/topics/documenting-your-api/</loc>
|
<loc>https://www.django-rest-framework.org/topics/documenting-your-api/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/topics/html-and-forms/</loc>
|
<loc>https://www.django-rest-framework.org/topics/html-and-forms/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/topics/internationalization/</loc>
|
<loc>https://www.django-rest-framework.org/topics/internationalization/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/topics/rest-hypermedia-hateoas/</loc>
|
<loc>https://www.django-rest-framework.org/topics/rest-hypermedia-hateoas/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/topics/writable-nested-serializers/</loc>
|
<loc>https://www.django-rest-framework.org/topics/writable-nested-serializers/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/tutorial/1-serialization/</loc>
|
<loc>https://www.django-rest-framework.org/tutorial/1-serialization/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/tutorial/2-requests-and-responses/</loc>
|
<loc>https://www.django-rest-framework.org/tutorial/2-requests-and-responses/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/tutorial/3-class-based-views/</loc>
|
<loc>https://www.django-rest-framework.org/tutorial/3-class-based-views/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/</loc>
|
<loc>https://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/tutorial/5-relationships-and-hyperlinked-apis/</loc>
|
<loc>https://www.django-rest-framework.org/tutorial/5-relationships-and-hyperlinked-apis/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/tutorial/6-viewsets-and-routers/</loc>
|
<loc>https://www.django-rest-framework.org/tutorial/6-viewsets-and-routers/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.django-rest-framework.org/tutorial/quickstart/</loc>
|
<loc>https://www.django-rest-framework.org/tutorial/quickstart/</loc>
|
||||||
<lastmod>2025-10-22</lastmod>
|
<lastmod>2025-10-27</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
</urlset>
|
</urlset>
|
||||||
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
|
|
@ -495,10 +495,11 @@ Host: example.org
|
||||||
]
|
]
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<h2 id="adding-new-translations"><a class="toclink" href="#adding-new-translations">Adding new translations</a></h2>
|
<h2 id="adding-new-translations"><a class="toclink" href="#adding-new-translations">Adding new translations</a></h2>
|
||||||
<p>REST framework translations are managed online using <a href="https://explore.transifex.com/django-rest-framework-1/django-rest-framework/">Transifex</a>. You can use the Transifex service to add new translation languages. The maintenance team will then ensure that these translation strings are included in the REST framework package.</p>
|
<p>REST framework translations are managed on GitHub. You can contribute new translation languages or update existing ones
|
||||||
|
by following the guidelines in the <a href="../../community/contributing/#development">Contributing to REST Framework</a> section and submitting a pull request.</p>
|
||||||
<p>Sometimes you may need to add translation strings to your project locally. You may need to do this if:</p>
|
<p>Sometimes you may need to add translation strings to your project locally. You may need to do this if:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>You want to use REST Framework in a language which has not been translated yet on Transifex.</li>
|
<li>You want to use REST Framework in a language which is not supported by the project.</li>
|
||||||
<li>Your project includes custom error messages, which are not part of REST framework's default translation strings.</li>
|
<li>Your project includes custom error messages, which are not part of REST framework's default translation strings.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4 id="translating-a-new-language-locally"><a class="toclink" href="#translating-a-new-language-locally">Translating a new language locally</a></h4>
|
<h4 id="translating-a-new-language-locally"><a class="toclink" href="#translating-a-new-language-locally">Translating a new language locally</a></h4>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user