6 lines
164 B
Python
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()})
|