Skip to content
Myr

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 file

Take it

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. We will then put our database schema as well as main module15into this folder. It is done in the following way. 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 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/