Django for Designers/Adding models: Difference between revisions

→‎Dealing with errors: Increase clarity on editing tag.html
imported>Paulproteus
imported>Paulproteus
(→‎Dealing with errors: Increase clarity on editing tag.html)
Line 722:
==== Dealing with errors ====
 
Let's update our tag.html template to use the same formatting as index.html. Since we're using the same formatting for the list of bookmarks, and there aren't any other content block differences between index.html and tag.html, we can simply modify our tag template to inherit from index.html. ThenEdit the''tag.html'' to have only blockthe wefollowing needcontents. to(That overwritemeans isyou can remove the subheader:mockup "block content" section. Yay!)
 
<source lang="html4strict">
Anonymous user