Skip to content
Myr

folders.rst

This file

Path

docs/tutorial/folders.rst

23 lines · 786 bytes

Last changed by

Merge pull request #1240 from defuz/docs-style-fix-2Markus Unterwaditzerbefore adoption6fcc2ae

History of this file

Take it

The walk stopped after 200 commits: lines older than e562acf point at it.

Set release date for 0.10.1Armin Ronacherbefore adoptione562acf

lines 1–13why, one step back
1.. _tutorial-folders:
23Step 0: Creating The Folders4============================56Before we get started, let's create the folders needed for this7application::89 /flaskr10 /static11 /templates1213The `flaskr` folder is not a python package, but just something where we

Changed the wording of some sentences there were difficult to understand.Reetta Vaahtorantabefore adoption0d648fa

lines 14–15why, one step back
14drop our files. We will then put our database schema as well as main module
15into this folder. It is done in the following way. The files inside

Merge pull request #1240 from defuz/docs-style-fix-2Markus Unterwaditzerbefore adoption6fcc2ae

line 16why, one step back
16the :file:`static` folder are available to users of the application via HTTP.

Set release date for 0.10.1Armin Ronacherbefore adoptione562acf

line 17why, one step back
17This is the place where css and javascript files go. Inside the

Merge pull request #1240 from defuz/docs-style-fix-2Markus Unterwaditzerbefore adoption6fcc2ae

line 18why, one step back
18:file:`templates` folder Flask will look for `Jinja2`_ templates. The

Set release date for 0.10.1Armin Ronacherbefore adoptione562acf

lines 19–22why, one step back
19templates you create later in the tutorial will go in this directory.
2021Continue with :ref:`tutorial-schema`.22

Merge branch 'master' of github.com:mitsuhiko/flaskArmin Ronacherbefore adoption67e4d3e

line 23why, one step back
23.. _Jinja2: http://jinja.pocoo.org/