[Django]-Django tastypie with non-orm using redis returns no objects

2👍

Add the object_class in the Meta solves the problem

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.

Leave a comment