Skip to content
Myr

folders.rst

This file

Path

docs/tutorial/folders.rst

23 lines · 797 bytes

Last changed by

Merge pull request #1277 from iKevinY/doc-fixesMarkus Unterwaditzerbefore adoption82d7c49

History of this file

Take it

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

Merge pull request #1273 from prakashpp/patch-1Markus Unterwaditzerbefore adoption41b5d77

lines 1–12why, 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 /templates12

Merge pull request #1277 from iKevinY/doc-fixesMarkus Unterwaditzerbefore adoption82d7c49

lines 13–15why, one step back
13The ``flaskr`` folder is not a Python package, but just something where we
14drop 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 inside

Merge pull request #1273 from prakashpp/patch-1Markus Unterwaditzerbefore adoption41b5d77

line 16why, one step back
16the :file:`static` folder are available to users of the application via HTTP.

Merge pull request #1277 from iKevinY/doc-fixesMarkus Unterwaditzerbefore adoption82d7c49

lines 17–19why, one step back
17This is the place where CSS and Javascript files go. Inside the
18:file:`templates` folder, Flask will look for `Jinja2`_ templates. The19templates you create later on in the tutorial will go in this directory.

Merge pull request #1273 from prakashpp/patch-1Markus Unterwaditzerbefore adoption41b5d77

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