init
This commit is contained in:
5
articles/views.py
Normal file
5
articles/views.py
Normal 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()})
|
||||
Reference in New Issue
Block a user