Y
Hacker News
new
|
ask
|
show
|
jobs
by
midtake
819 days ago
Last time I used Django Rest Framework the serializers were slow. Has this changed in recent years?
2 comments
Alex3917
819 days ago
No, but you don’t need to use the built-in serializers. Just swap them out for Marshmallow.
link
neilfrndes
818 days ago
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.
link
the__alchemist
819 days ago
This implies using two library layers on top of Django's own syntax. At that point, `def serialize(self) -> dict:
link
brianwawok
819 days ago
As long as you load them with objects that don’t need future queries they are fine….
link