from django.shortcuts import render

from wpsblog.models import Post


def list(request):
    return render(
        request,
        "posts/list.html",
        {"posts_list":Post.objects.all()},
    )
