Answer the question
In order to leave comments, you need to log in
How to display a list of records from a table, sorted by id?
I don't know how to better phrase the question. There are records of people - persons . Received simply 'persons': Person.objects.all(),
In the template, everything is displayed in a cycle
{% for person in persons %}
{{ person }}
{% endfor %}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question