def homepage(response):
data = Project_types.objects.all()
return render(response, 'main/homepage.html',{'projects':data})
def hacks(response):
return render(response, 'main/hacks.html', {})
def games(response):
return render(response, 'main/games.html', {})
All I need to know is how to iterate through each object in the variable "data" in html. I want it displayed in the most simple way possible !