From d322c3b377331e842aac19eb34f75da47420a59e Mon Sep 17 00:00:00 2001 From: lele555 <3583165504@qq.com> Date: Sat, 3 Oct 2026 11:36:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20project-a/articleapp/templ?= =?UTF-8?q?ates/index.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project-a/articleapp/templates/index.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 project-a/articleapp/templates/index.html diff --git a/project-a/articleapp/templates/index.html b/project-a/articleapp/templates/index.html new file mode 100644 index 0000000..9b1698e --- /dev/null +++ b/project-a/articleapp/templates/index.html @@ -0,0 +1,17 @@ + + + + + 文章列表 + + +

文章

+ {% for art in articles %} +
+

{{art.title}}

+

{{art.content}}

+

{{art.create_time}}

+
+ {% endfor %} + +