From b8e461e3d1d949013cb6a336c627074e711c284b Mon Sep 17 00:00:00 2001 From: nathanbegbie Date: Fri, 27 Jul 2018 11:36:09 +0200 Subject: [PATCH] Update docs on larger applications wrt tutorial The wording of the docs makes it sound like the tutorials use the simple structure for a flask application, which they no longer do. This commit re-words the docs to make it clearer. --- docs/patterns/packages.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/patterns/packages.rst b/docs/patterns/packages.rst index f6b51614..aacb5c39 100644 --- a/docs/patterns/packages.rst +++ b/docs/patterns/packages.rst @@ -3,9 +3,7 @@ Larger Applications =================== -For larger applications it's a good idea to use a package instead of a -module. That is quite simple. Imagine a small application looks like -this:: +Imagine a simple flask application structure that looks like this:: /yourapplication yourapplication.py @@ -17,8 +15,10 @@ this:: login.html ... -The :ref:`tutorial ` is structured this way, see the -:gh:`example code `. +While this is fine for small applications, for larger applications +it's a good idea to use a package instead of a module. +The :ref:`tutorial ` is structured to use the package pattern, +see the :gh:`example code `. Simple Packages ---------------