Hacker News new | ask | show | jobs
by Alex3917 819 days ago
No, but you don’t need to use the built-in serializers. Just swap them out for Marshmallow.
2 comments

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: