2👍
What is Order
in your code? With Resource
you don’t need Meta.queryset
. Try to remove it.
Also, make sure Order
is serializable. Most probably Tastypie unable to serialize it. Try with simple dictionary objects instead of Order first. Read more about Serialization and Dehydration.
- [Django]-Django: filter JSONField with multiple nested arrays
- [Django]-Conditional Logic in django forms
- [Django]-Name Error: global name 'loader' is not defined
Source:stackexchange.com