Redirect after POST, and show all items in template

chap5
Jason Zhu 2020-11-09 12:33:20 +11:00
parent ff01b880eb
commit 05b8f21943
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<table id="id_list_table"> <table id="id_list_table">
{% for item in items %} {% for item in items %}
<tr><td>1: {{ item.text }}</td></tr> <tr><td>{{ forloop.counter }}: {{ item.text }}</td></tr>
{% endfor %} {% endfor %}
</table> </table>
</body> </body>