Working with Templates
======================
So far in the project you've created about six html templates for the different pages in the application. You've probably already noticed that there is a lot of redundancy in these html templates. In most applications there is often a lot of repetition, i.e. headers, navigation bars, side bars, footers, the scripts that are injected into each page, etc. To help you, Django provides template inheritance. It is pretty straightforward and is similar to inheritance in Python (and other languages). To use template inheritance you will need to do the following:
* identity the parts of the html page that are repeated and common across your application
* create a base html template which contains the commonalities along with the structure of your page - defined by blocks
* for each page in your application that follows from the base html:
* inherit from the base html template
* insert the page specific html and template tags into the blocks
For Rango, the commonalities between pages is the following html:
::