mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
a0cdba6277
* Extract method for `manual_fields` processing Allows reuse of logic to replace Field instances in a field list by `Field.name`. Adds a utility function for the logic plus a wrapper method on `AutoSchema`. Closes #5632 * Manual fields suggestions (#2) * Use OrderedDict in inspectors * Move empty check to 'update_fields()' * Make 'update_fields()' an AutoSchema staticmethod * Add 'AutoSchema.get_manual_fields()' * Conform '.get_manual_fields()' to other methods * Add test for update_fields * Make sure `manual_fields` is a list. (As documented to be) * Add docs for new AutoSchema methods. * `get_manual_fields` * `update_fields` * Add release notes for PR. |
||
---|---|---|
.. | ||
2.2-announcement.md | ||
2.3-announcement.md | ||
2.4-announcement.md | ||
3.1-announcement.md | ||
3.2-announcement.md | ||
3.3-announcement.md | ||
3.4-announcement.md | ||
3.5-announcement.md | ||
3.6-announcement.md | ||
3.7-announcement.md | ||
3.0-announcement.md | ||
ajax-csrf-cors.md | ||
api-clients.md | ||
browsable-api.md | ||
browser-enhancements.md | ||
contributing.md | ||
documenting-your-api.md | ||
funding.md | ||
html-and-forms.md | ||
internationalization.md | ||
jobs.md | ||
kickstarter-announcement.md | ||
mozilla-grant.md | ||
project-management.md | ||
release-notes.md | ||
rest-framework-2-announcement.md | ||
rest-hypermedia-hateoas.md | ||
third-party-packages.md | ||
tutorials-and-resources.md | ||
writable-nested-serializers.md |