[Answered ]-Django views-calling data from models.py and showing it

2👍

posts.object_list doesn’t exist. You only use object_list with a Paginator instance, which you haven’t set up. Just change it to {% for post in posts %} and you’re good.

Leave a comment