Skip to content
Myr

Update docs on larger applications wrt tutorial

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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.

authored by nathanbegbie · committed by David Lord · parent 1e61669 · Browse files · 1 file+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−5 removed

  • other:+5 added−5 removed

1 file+5 added−5 removed

modified:docs/patterns/packages.rst+5 added-5 removed
1 unmodified line
23Larger Applications4===================56For larger applications it's a good idea to use a package instead of a7module. That is quite simple. Imagine a small application looks like8this::6Imagine a simple flask application structure that looks like this::78 /yourapplication9 yourapplication.py10 /static
3 unmodified lines
14 index.html15 login.html16 ...1718While this is fine for small applications, for larger applications19it's a good idea to use a package instead of a module.20The :ref:`tutorial <tutorial>` is structured this way, see the21:gh:`example code <examples/tutorial>`.20The :ref:`tutorial <tutorial>` is structured to use the package pattern,21see the :gh:`example code <examples/tutorial>`.2223Simple Packages24---------------25
118 unmodified lines