from django.shortcuts import render, HttpResponse
from  src.models import  Post
# Create your views here.

def index(request):
    posts=Post.objects.all()
    return render(request, 'index.html', {'posts':posts})
