Changes between Initial Version and Version 1 of Ticket #30735, comment 8


Ignore:
Timestamp:
Aug 29, 2019, 4:04:53 AM (5 years ago)
Author:
Yannick Chabbert

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30735, comment 8

    initial v1  
    11Ok, I can confirm that it work because this is an expected behavior in DRF.
    22
    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#L196
     3Request 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
    44
    55It is then handled by the corresponding serializer field (DRF) by implementing the {{to_internal_value}} method.
Back to Top