#30735: Testing client encode_multipart may also support dict format.
-------------------------------------+-------------------------------------
Reporter: Yannick Chabbert | Owner: Yannick
| Chabbert
Type: New feature | Status: closed
Component: Testing framework | Version: master
Severity: Normal | Resolution: wontfix
Keywords: test | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Yannick Chabbert):
Replying to [comment:5 Carlton Gibson]:
> Aside: if you were to propose the adjustment here to DRF, we'd say
something like, "subclass MultiPartRenderer to automatically convert dicts
to JSON, if that's what you know you want for your project". I'd suggest
that as a way forward, although, I'd probably advise just keeping the
`json.dumps()` inline, since it's nicely visible there, and not much of a
hardship... (HTH).
Didn't see your comment, good suggestion thanks !
--
Ticket URL: <https://code.djangoproject.com/ticket/30735#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.54121c63c35524347f945c232f52de2f%40djangoproject.com.