Skip to content

Commit

Permalink
Merge pull request DjangoGirls#1758 from adamantike/fix/refer-to-arti…
Browse files Browse the repository at this point in the history
…cle-tags

Fix: Refer to article tags instead of div
  • Loading branch information
das-g committed Dec 28, 2021
2 parents 912e031 + f3bae39 commit fd6d6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/django_templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To print a variable in Django templates, we use double curly brackets with the v
{{ posts }}
```

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:
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:

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

Expand Down

0 comments on commit fd6d6ed

Please sign in to comment.