This commit is contained in:
root
2025-09-29 15:57:17 +03:00
commit 25e571d194
21 changed files with 370 additions and 0 deletions

5
articles/views.py Normal file
View File

@@ -0,0 +1,5 @@
from .models import Article
from django.shortcuts import render
def archive(request):
return render(request, 'archive.html', {"posts": Article.objects.all()})