Skip to content

Commit fd6d6ed

Browse files
authored
Merge pull request #1758 from adamantike/fix/refer-to-article-tags
Fix: Refer to article tags instead of div
2 parents 912e031 + f3bae39 commit fd6d6ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/django_templates/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To print a variable in Django templates, we use double curly brackets with the v
1919
{{ posts }}
2020
```
2121

22-
Try this in your `blog/templates/blog/post_list.html` template. Open it up in the code editor, and replace everything from the second `<div>` to the third `</div>` with `{{ posts }}`. Save the file, and refresh the page to see the results:
22+
Try this in your `blog/templates/blog/post_list.html` template. Open it up in the code editor, and replace the existing `<article>` elements with `{{ posts }}`. Save the file, and refresh the page to see the results:
2323

2424
![Figure 13.1](images/step1.png)
2525

0 commit comments

Comments
 (0)