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