From faa6546a8e254c71aec269abf5ca044db8703340 Mon Sep 17 00:00:00 2001 From: aykin Date: Wed, 15 Apr 2015 10:27:16 +0300 Subject: [PATCH] Update the_controller.rst The sample code does not work due to an array o string conversion exception. The documentation needs to be updated to reflect the change --- quick_tour/the_controller.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quick_tour/the_controller.rst b/quick_tour/the_controller.rst index bc90f0af99b..b555c56e68d 100644 --- a/quick_tour/the_controller.rst +++ b/quick_tour/the_controller.rst @@ -326,7 +326,7 @@ And you can display the flash message in the template like this: .. code-block:: html+jinja
- {{ app.session.flashbag.get('notice') }} + {{ app.session.flashbag.get('notice')[0] }}
Final Thoughts