product = models.ForeignKey('Product', on_delete=models.CASCADE, related_name="photos")
def index(request):
article_list = Article.objects.all() # Тут можно накинуть .filter()
context = {'article_list': article_list}
return render(request, 'atricles/index.html', context)
{% for article in article_list %}
<div class="content">{{ article.content }}</div>
{% endfor %}