folders.rst
This file
Path
docs/tutorial/folders.rst
23 lines · 797 bytes
Last changed by
Not known.
History of this fileTake 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. Later on, we will put our database schema as well as main15module into this folder. It is done in the following way. The files inside16the :file:`static` folder are available to users of the application via HTTP.17This is the place where CSS and Javascript files go. Inside the18:file:`templates` folder, Flask will look for `Jinja2`_ templates. The19templates you create later on in the tutorial will go in this directory.2021Continue with :ref:`tutorial-schema`.2223.. _Jinja2: http://jinja.pocoo.org/