Skip to content
Myr

folders.rst

This file

Path

docs/tutorial/folders.rst

23 lines · 779 bytes

Last changed by

clarified description of templates directoryNick Walkerbefore adoption1f6321a

History of this file

Take it

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

Various pyflakes fixesArmin Ronacherbefore adoptionc900256

lines 1–17why, 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 we14drop our files. Directly into this folder we will then put our database15schema as well as main module in the following steps. The files inside16the `static` folder are available to users of the application via `HTTP`.17This is the place where css and javascript files go. Inside the

clarified description of templates directoryNick Walkerbefore adoption1f6321a

lines 18–19why, one step back
18`templates` folder Flask will look for `Jinja2`_ templates. The
19templates you create later in the tutorial will go in this directory.

Various pyflakes fixesArmin Ronacherbefore adoptionc900256

lines 20–23why, one step back
20
21Continue with :ref:`tutorial-schema`.2223.. _Jinja2: http://jinja.pocoo.org/2/