The queryset object:
<QuerySet [{'id': 3, 'firstname': 'Linus', 'lastname': 'Refsnes'}, {'id': 4, 'firstname': 'Lene', 'lastname': 'Refsnes'}]>
Loop through the items:
ID
Firstname
Lastname
3
Linus
Refsnes
4
Lene
Refsnes