[Fixed]-Python Django : item title does not show

1👍

Your loop variable name is 'title' (which is oddly chosen):

{% for title in items %}

But you seem to access it as 'item': {{ item.title }}, {{ item.writer }}, etc.! Change the loop variable name to item:

{% for item in items %}

Leave a comment