folders.rst
This file
Path
docs/tutorial/folders.rst
23 lines · 776 bytes
Last changed by
Merge branch 'master' of github.com:mitsuhiko/flaskArmin Ronacherbefore adoption67e4d3e
History of this fileTake it
The walk stopped after 200 commits: lines older than 3fdcefb point at it.
Merge pull request #625 from soulseekah/masterKenneth Reitzbefore adoption3fdcefb
lines 1–13why, one step back1.. _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 weChanged the wording of some sentences there were difficult to understand.Reetta Vaahtorantabefore adoption0d648fa
lines 14–15why, one step back14drop our files. We will then put our database schema as well as main module15into this folder. It is done in the following way. The files insideMerge pull request #625 from soulseekah/masterKenneth Reitzbefore adoption3fdcefb
lines 16–22why, one step back16the `static` folder are available to users of the application via `HTTP`.17This is the place where css and javascript files go. Inside the18`templates` folder Flask will look for `Jinja2`_ templates. The19templates you create later in the tutorial will go in this directory.2021Continue with :ref:`tutorial-schema`.22Merge branch 'master' of github.com:mitsuhiko/flaskArmin Ronacherbefore adoption67e4d3e
line 23why, one step back23.. _Jinja2: http://jinja.pocoo.org/