Ich schicke ein Queryset "profil" an ein Template und liste dort einige Inhalte auf:
Code: Alles auswählen
{% for profil, gesamt, neu in zeilen %}
<tr>
<td>{{profil.vorname }}</td>
<td>{{profil.nachname }}</td>
<td>{{profil.user.username }}</td>
<td>{{profil.user.id }}</td>
<td>{{gesamt }}</td>
<td>{{neu }}</td>
<td>{{profil.user.last_login }}</td>
</tr>
{% endfor %}