[Django]-Django Tastypie apply_filter for foreign keys

2👍

Try with :

object_list.filter(user__is_active = true)

You can find the documentation about this here : https://docs.djangoproject.com/en/1.6/topics/db/queries/#lookups-that-span-relationships

Leave a comment