What does Django-filter return?

Filtering records using the filter() method Django provides a filter() method which returns a subset of data . It accepts field names as keyword arguments and returns a QuerySet object. As database has only one record where name is ‘tom’ , the QuerySet object contains only a single record.

Read more