Gottfried
Gottfried

Reputation: 2129

How does one filter a query set in django

Suppose you have a query set in Django how does one filter it, given that

    queryset.objects.filter(condition) 

doesn't work?

Upvotes: 0

Views: 56

Answers (1)

NG.
NG.

Reputation: 22914

You should be able to do queryset = queryset.filter(condition) See the QuerySet API

Upvotes: 2

Related Questions