Closed pedia closed 4 years ago
hi, could you please link the exact code you are describing? I can't find any usage of to_dict
My bad, this code was in tag 0.17.0
to_dict was in views.py _paginated
self.serialize was in get
I think these code is refactored much changed since 1.0.0, ignored my question.
First:
I noticed in views.py
API.get
callself.serialize
wheninstid
provided callto_dict
withoutinstid
How about calling
self.serialize
in these two routines?Second: How about custom serialize in this way:
And:
This is too distressed. What's the benefit with
id
?