删除 project-a/articleapp/views.py

This commit is contained in:
2026-10-06 16:05:13 +08:00
parent 38b26ffe9f
commit 2ec3637ee5
-6
View File
@@ -1,6 +0,0 @@
from django.shortcuts import render
from .models import Article
def index(request):
articles = Article.objects.all()
return render(request, "index.html", {"articles": articles})