[Answer]-Tastypie random queryset results

1👍

✅

Note the Django docs:

Each model requires exactly one field to have primary_key=True (either
explicitly declared or automatically added).

i.e. I expect the problem is with your Django model definition having multiple primary_key=True fields, and not Tastypie.

The feature request to remedy this is tracked but it is not going to land in time to solve your immediate problem.

Leave a comment