In views.py
def index(request): if request.method == "GET": posts = Post.objects.all().order_by(\'-id\') al