filter outside queryset in list django

Solutions on MaxInterview for filter outside queryset in list django by the best coders in the world

showing results for - "filter outside queryset in list django"
Annaelle
06 Sep 2018
1users = UserClasses.objects.filter(class_id=data['class_id'])
2user_details = User.objects.filter(id__in=users.values_list('id', flat=True))
similar questions
queries leading to this page
filter outside queryset in list django