{% extends 'base_advance.html' %} {% block title %}List{% endblock %} {% block body_block %}

Welcome to Todolist site

Hello !{{ user.username }} 以下是你所有的Todo List

{% if item_list|length == 0 %}

当前没有未完成的事项

{% else %} {% for i in item_list %} {% endfor %}

正在进行

Id itemname description Priority pub time
{{ i.id }} {{ i.item_name }} {{ i.item_descrip }} {{ i.item_prority }} {{ i.pub_time }} 详情
{% endif %} {% if item_donelist|length == 0 %}

当前没有已经完成的事项

{% else %} {% for i in item_donelist %} {% endfor %}

已完成

Id itemname description Priority pub time
{{ i.id }} {{ i.item_name }} {{ i.item_descrip }} {{ i.item_prority }} {{ i.pub_time }} 详情
{% endif %} {% endblock %}