I have a view that contains code to retrieve all review objects for a movie:
review = Review.objects.filter(movie= movie)
How can I loop through these values in the html so that I only get the first 3 review objects? Indexing like review[0] doesn't seem to work.
I saw in another post that you can loop through all of the objects in the html like this (but this is not what I am looking for):
{% for obj in review %}
<p> {% obj.review_text %} </p>
{% endfor %}