mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +03:00
Add release notes for PR.
This commit is contained in:
parent
49415ed640
commit
7dc903fe2f
|
@ -40,6 +40,25 @@ You can determine your currently installed version using `pip freeze`:
|
||||||
|
|
||||||
## 3.7.x series
|
## 3.7.x series
|
||||||
|
|
||||||
|
### 3.7.4
|
||||||
|
|
||||||
|
**Date**: UNRELEASED
|
||||||
|
|
||||||
|
* Extract method for `manual_fields` processing [#5633][gh5633]
|
||||||
|
|
||||||
|
Allows for easier customisation of `manual_fields` processing, for example
|
||||||
|
to provide per-method manual fields. `AutoSchema` adds `get_manual_fields`,
|
||||||
|
as the intended override point, and a utility method `update_fields`, to
|
||||||
|
handle by-name field replacement from a list, which, in general, you are not
|
||||||
|
expected to override.
|
||||||
|
|
||||||
|
Note: `AutoSchema.__init__` now ensures `manual_fields` is a list.
|
||||||
|
Previously may have been stored internally as `None`.
|
||||||
|
|
||||||
|
|
||||||
|
[gh5633]: https://github.com/encode/django-rest-framework/issues/5633
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### 3.7.3
|
### 3.7.3
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user