Files
lab6/articles/views.py
2025-09-29 15:57:17 +03:00

6 lines
164 B
Python

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