folders.rst
This file
Path
docs/tutorial/folders.rst
23 lines · 778 bytes
Last changed by
Changed the wording of some sentences there were difficult to understand.Reetta Vaahtorantabefore adoption0d648fa
History of this fileTake it
The walk stopped after 200 commits: lines older than 22af78a point at it.
Removed outdated sentence in the testing docsArmin Ronacherbefore adoption22af78a
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 insideRemoved outdated sentence in the testing docsArmin Ronacherbefore adoption22af78a
lines 16–23why, 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`.2223.. _Jinja2: http://jinja.pocoo.org/2/