5👍
✅
Everything’s fine.
It’s simply that in order to preserve the order DRF can’t use basic dictionaries as they don’t keep the order. There you see an OrderedDict instead.
Your renderer will take care of that and outputs the correct values.
Source:stackexchange.com