[Solved]-Django/GAE: How to filter query set on foreignkey?

12👍

inner_query = Store.objects.filter(store_name='storename')
submissions = Submission.objects.filter(store__in=inner_query)

Leave a comment