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