django-rest-framework/docs/api-guide
fbozhang a4504226fc
Preserve ordering in MultipleChoiceField (#9735)
* fix: MultipleChoiceField use ordered sort

(cherry picked from commit 8436483e66af3d1317d99335b7fae95c1f58d13a)

* test: fix unit tests

(cherry picked from commit 6428ac4a05f4a33eb0813cc56d584f56e7bfac89)

* test: test TestMultipleChoiceField can json serializable

(cherry picked from commit 12908b149c446598682269f8df78290fa8268982)

* test: fix unit test

(cherry picked from commit 73a709c4b04ae510d61f2d426f93f6aef98b09fd)

* minor: rest old formatting

* fix: using pytest.fail to test

* Update test_fields.py

* Update test_fields.py

* Update test_fields.py

* test: add test cases

* docs: update docs

* Update docs/api-guide/fields.md

* Skip inner list allocation

* Fix punctuation

---------

Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2026-02-26 09:40:41 +00:00
..
authentication.md Fix typo in authentication.md (#9880) 2026-02-03 13:30:18 +00:00
caching.md Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
content-negotiation.md Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
exceptions.md Update Django documentation links to use stable version (#9698) 2025-05-13 15:10:21 +01:00
fields.md Preserve ordering in MultipleChoiceField (#9735) 2026-02-26 09:40:41 +00:00
filtering.md improved docs/api-guide/filtering.md for better understanding (#9795) 2025-10-09 10:27:01 +06:00
format-suffixes.md Improve style, fix some typos (#8405) 2022-10-19 11:20:11 +01:00
generic-views.md Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
metadata.md Update pre-commit hooks (#9805) 2025-10-22 13:47:00 +01:00
pagination.md Docs: Mention ?page=last in last_page_strings #9193 (#9800) 2025-10-20 17:26:55 +01:00
parsers.md Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
permissions.md Clarify operators precendence in permissions documentation (#9875) 2026-01-24 14:33:10 +00:00
relations.md Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
renderers.md Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
requests.md Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
responses.md Standardize spelling to American English in documentation (#9804) 2025-10-27 22:44:48 +06:00
reverse.md Fix Links in Documentation to Django reverse and reverse_lazy (#8986) 2023-05-17 11:46:48 +06:00
routers.md Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
schemas.md Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
serializers.md Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
settings.md Bigint coerce to string (#9775) 2025-12-02 20:44:53 +06:00
status-codes.md Added http 102, 103, 421, and 425 status codes in documentation (#8763) 2022-11-17 13:13:09 +00:00
testing.md Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
throttling.md Fix broken link and formatting in documentation (#9848) 2025-12-12 11:54:09 +00:00
validators.md Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
versioning.md Updated url() with re_path() in Versioning docs. (#7043) 2019-11-07 13:20:56 +01:00
views.md Style notes using admonition in the documentation (#9846) 2025-12-12 11:53:09 +00:00
viewsets.md Warn against trailing slashes in router prefixes in documentation (#9861) 2026-02-21 14:16:37 +01:00