Skip to content
Myr

folders.rst

This file

Path

docs/tutorial/folders.rst

19 lines · 673 bytes

Last changed by

New style for the documentation. Looks more like the website now.Armin Ronacherbefore adoptionbcf347f

History of this file

Take it

1Step 0: Creating The Folders2============================34Before we get started, let's create the folders needed for this5application::67    /flaskr8        /static9        /templates1011The `flaskr` folder is not a python package, but just something where we12drop our files.  Directly into this folder we will then put our database13schema as well as main module in the following steps.  The files inside14the `static` folder are available to users of the application via `HTTP`.15This is the place where css and javascript files go.  Inside the16`templates` folder Flask will look for `Jinja2`_ templates.  Drop all the17templates there.1819.. _Jinja2: http://jinja.pocoo.org/2/