Changes between Initial Version and Version 1 of Ticket #30735, comment 8
- Timestamp:
- Aug 29, 2019, 4:04:53 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30735, comment 8
initial v1 1 1 Ok, I can confirm that it work because this is an expected behavior in DRF. 2 2 3 Request is first parsed by the Django {{{MutiPartParser}}} which just extract the raw json string: https://github.com/django/django/blob/ master/django/http/multipartparser.py#L1963 Request is first parsed by the Django {{{MutiPartParser}}} which just extract the raw json string: https://github.com/django/django/blob/2.2.4/django/http/multipartparser.py#L192 4 4 5 5 It is then handled by the corresponding serializer field (DRF) by implementing the {{to_internal_value}} method.