base.html instead of base.py as it is a Jinja template

Akash Kothawale 2014-06-16 00:16:27 -07:00
parent 86aedf7ec5
commit 0719095648

@ -334,7 +334,7 @@ Jinja is integrated within Flask. One of the great features of Jinja is the inhe
</html> </html>
``` ```
Now we won't have to redefine our html structure anymore, and any modification done on `base.py` will be visible on all your child templates. Here is the `/app/templates/users/register.html` template (It's a good habit to use the view name for the template file name). Now we won't have to redefine our html structure anymore, and any modification done on `base.html` will be visible on all your child templates. Here is the `/app/templates/users/register.html` template (It's a good habit to use the view name for the template file name).
```jinja ```jinja
{% extends "base.html" %} {% extends "base.html" %}