2010-04-18 13:15:00 +02:00
|
|
|
.. _tutorial:
|
|
|
|
|
|
|
|
|
|
Tutorial
|
|
|
|
|
========
|
|
|
|
|
|
2017-05-24 17:00:20 -07:00
|
|
|
Learn by example to develop an application with Python and Flask.
|
|
|
|
|
|
|
|
|
|
In this tutorial, we will create a simple blogging application. It only
|
|
|
|
|
supports one user, only allows text entries, and has no feeds or comments.
|
|
|
|
|
|
|
|
|
|
While very simple, this example still features everything you need to get
|
|
|
|
|
started. In addition to Flask, we will use SQLite for the database, which is
|
|
|
|
|
built-in to Python, so there is nothing else you need.
|
2010-04-18 13:15:00 +02:00
|
|
|
|
2014-10-27 11:45:00 +01:00
|
|
|
If you want the full source code in advance or for comparison, check out
|
2010-04-18 13:15:00 +02:00
|
|
|
the `example source`_.
|
|
|
|
|
|
2017-05-24 17:00:20 -07:00
|
|
|
.. _example source: https://github.com/pallets/flask/tree/master/examples/flaskr/
|
2010-04-18 13:15:00 +02:00
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
|
|
introduction
|
|
|
|
|
folders
|
|
|
|
|
schema
|
|
|
|
|
setup
|
2016-09-08 09:19:48 -04:00
|
|
|
packaging
|
2010-04-19 02:45:44 +02:00
|
|
|
dbcon
|
2013-09-01 01:32:41 +06:00
|
|
|
dbinit
|
2010-04-18 13:15:00 +02:00
|
|
|
views
|
|
|
|
|
templates
|
|
|
|
|
css
|
|
|
|
|
testing
|