Skip to content
Myr

Merge pull request #2875 from nathanbegbie/patch-1

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

Update docs on larger applications WRT tutorial

authored by David Lord · committed by GitHub · parents 1e61669, b8e461e · 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