Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Django Basics Django Templates Override a block

hi, what am i doing wrong?

Kindly assist, Django basics....

articles/templates/articles/article_list.html
{% extends "base.html" %}

{% block content %}

{% for  article in articles%}

{{article_list.html}}

{% endfor %}

{% endblock content %}

2 Answers

Steven Parker
Steven Parker
229,657 Points

It looks like a change was made that is not part of the instructions. The code above shows "{{article_list.html}}", but in the original code provided in the challenge it's "{{ article.headline }}".

For challenges in general, don't modify any provided code unless the instructions ask for it specifically.

Hello Steven. Thanks for the response. Found out after refreshing the question.