from django.shortcuts import render from django.http import HttpResponse # Create your views here. from .models import Link def index(request): # return HttpResponse("links will show up here...") linklist = Link.objects.all() context = {'linklist':linklist} return render(request,'linkstore/index.html',context)