From 5f882a3cd70d5e44b03210ef6cfd7ea9f071a432 Mon Sep 17 00:00:00 2001 From: debrice Date: Sun, 5 Feb 2012 19:52:37 -0800 Subject: [PATCH] Updated Large app how to (markdown) --- Large-app-how-to.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Large-app-how-to.md b/Large-app-how-to.md index b0f5543..2ff47ab 100644 --- a/Large-app-how-to.md +++ b/Large-app-how-to.md @@ -282,7 +282,7 @@ This decorator is checking that g.user has a value assigned to it, otherwise it ## First template -Jinja is integrated within Flask. One of the great feature of Jinja is the inheritance and the logic available (conditional structure, loop, context modification...). We'll create a `base.html` template from which we'll inherit from on each of our template. You can even have more than 1 inheritance (like having your template inheriting from twocolumn.html template which itself inherit from main.html). The base template is also a good place to display flash messages (`get_flashed_messages`), so every template will now display messages when needed. +Jinja is integrated within Flask. One of the great feature of Jinja is the inheritance and the logic available (conditional structure, loop, context modification...). We'll create a `/app/templates/base.html` template from which we'll inherit from on each of our template. You can even have more than 1 inheritance (like having your template inheriting from `twocolumn.html` template which itself inherit from `main.html`). The base template is also a good place to display flash messages (`get_flashed_messages`), so every template will now display messages when needed.