The queryset object:
<QuerySet [{'id': 3, 'firstname': 'Linus', 'lastname': 'Refsnes', 'phone': 5554321, 'joined_date': datetime.date(2021, 12, 24)}, {'id': 4, 'firstname': 'Lene', 'lastname': 'Refsnes', 'phone': 5551234, 'joined_date': datetime.date(2021, 5, 5)}]>Loop through the items:
ID | Firstname | Lastname |
---|---|---|
3 | Linus | Refsnes |
4 | Lene | Refsnes |