all my codes are working correctly but showing as text on browser. they are not rendering as an html page
here is what my views is like
@login_required
def product_list(request, template_name='product/product_list.html'):
ppix = Profilepix.objects.filter(user=request.user)
product = Product.objects.filter(username=request.user).order_by('-postdate')
data = {}
data['object_list'] = product
return render(request, template_name, data, {'Profilepix': ppix})