You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
.. _tutorial:
|
|
|
|
|
|
|
|
Tutorial
|
|
|
|
========
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
If you want the full source code in advance or for comparison, check out
|
|
|
|
the `example source`_.
|
|
|
|
|
|
|
|
.. _example source: https://github.com/pallets/flask/tree/master/examples/flaskr/
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
introduction
|
|
|
|
folders
|
|
|
|
schema
|
|
|
|
setup
|
|
|
|
packaging
|
|
|
|
dbcon
|
|
|
|
dbinit
|
|
|
|
views
|
|
|
|
templates
|
|
|
|
css
|
|
|
|
testing
|