Skip to content

Comment on Django REST framework 3.15.0parent

Comments

No, but you don’t need to use the built-in serializers. Just swap them out for Marshmallow.

Not sure why this is down voted, I use marshmallow serializes with DRF. Marshmallow serializes are more flexible and the learning curve isn't high.

This implies using two library layers on top of Django's own syntax. At that point, `def serialize(self) -> dict:

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.