Django for Designers/Adding models: Difference between revisions
Content added Content deleted
imported>Paulproteus (→Dealing with errors: Increase clarity on editing tag.html) |
imported>Paulproteus |
||
Line 720:
Spin up your dev server, if you haven't got it running already, and check out your changes! Then save and commit your precious work.
====
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. Edit ''tag.html'' to have only the following contents. (That means you can remove the mockup "block content" section. Yay!)
|