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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30735, comment 8

    v1 v2  
    33Request 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
    5 It is then handled by the corresponding serializer field (DRF) by implementing the {{to_internal_value}} method.
     5It is then handled by the corresponding serializer field (DRF) by implementing the {{{to_internal_value}}} method.
    66
    77RFC compliant or not (I still didn't know but finally, a string is a string, no matter what it contains!), this is not an issue with Django and sorry for the bad report!
Back to Top