2019-01-06 06:59:25 +08:00
|
|
|
.. rst-class:: hide-header
|
2010-05-24 14:38:28 +08:00
|
|
|
|
2010-04-06 22:02:14 +08:00
|
|
|
Welcome to Flask
|
|
|
|
================
|
|
|
|
|
2018-09-17 23:35:28 +08:00
|
|
|
.. image:: _static/flask-logo.png
|
2018-02-07 22:56:14 +08:00
|
|
|
:alt: Flask: web development, one drop at a time
|
2018-09-17 23:35:28 +08:00
|
|
|
:align: center
|
|
|
|
:target: https://palletsprojects.com/p/flask/
|
2010-04-10 21:49:15 +08:00
|
|
|
|
2020-04-05 03:57:14 +08:00
|
|
|
Welcome to Flask's documentation. Get started with :doc:`installation`
|
|
|
|
and then get an overview with the :doc:`quickstart`. There is also a
|
|
|
|
more detailed :doc:`tutorial/index` that shows how to create a small but
|
2018-02-07 22:56:14 +08:00
|
|
|
complete application with Flask. Common patterns are described in the
|
2020-04-05 03:57:14 +08:00
|
|
|
:doc:`patterns/index` section. The rest of the docs describe each
|
|
|
|
component of Flask in detail, with a full reference in the :doc:`api`
|
|
|
|
section.
|
2010-04-06 22:02:14 +08:00
|
|
|
|
2018-02-07 22:56:14 +08:00
|
|
|
Flask depends on the `Jinja`_ template engine and the `Werkzeug`_ WSGI
|
|
|
|
toolkit. The documentation for these libraries can be found at:
|
2010-04-16 18:21:31 +08:00
|
|
|
|
2019-11-15 12:27:44 +08:00
|
|
|
- `Jinja documentation <https://jinja.palletsprojects.com/>`_
|
2019-06-24 06:37:51 +08:00
|
|
|
- `Werkzeug documentation <https://werkzeug.palletsprojects.com/>`_
|
2010-04-16 18:21:31 +08:00
|
|
|
|
2018-02-07 22:56:14 +08:00
|
|
|
.. _Jinja: https://www.palletsprojects.com/p/jinja/
|
|
|
|
.. _Werkzeug: https://www.palletsprojects.com/p/werkzeug/
|
2010-04-16 18:21:31 +08:00
|
|
|
|
2019-06-24 03:27:25 +08:00
|
|
|
|
|
|
|
User's Guide
|
|
|
|
------------
|
|
|
|
|
|
|
|
This part of the documentation, which is mostly prose, begins with some
|
|
|
|
background information about Flask, then focuses on step-by-step
|
|
|
|
instructions for web development with Flask.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
foreword
|
|
|
|
advanced_foreword
|
|
|
|
installation
|
|
|
|
quickstart
|
|
|
|
tutorial/index
|
|
|
|
templating
|
|
|
|
testing
|
|
|
|
errorhandling
|
2020-07-29 02:14:17 +08:00
|
|
|
debugging
|
2019-06-24 03:27:25 +08:00
|
|
|
logging
|
|
|
|
config
|
|
|
|
signals
|
|
|
|
views
|
|
|
|
appcontext
|
|
|
|
reqcontext
|
|
|
|
blueprints
|
|
|
|
extensions
|
|
|
|
cli
|
|
|
|
server
|
|
|
|
shell
|
|
|
|
patterns/index
|
|
|
|
deploying/index
|
2021-04-07 06:31:28 +08:00
|
|
|
async-await
|
2019-06-24 03:27:25 +08:00
|
|
|
|
|
|
|
|
|
|
|
API Reference
|
|
|
|
-------------
|
|
|
|
|
|
|
|
If you are looking for information on a specific function, class or
|
|
|
|
method, this part of the documentation is for you.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
api
|
|
|
|
|
|
|
|
|
|
|
|
Additional Notes
|
|
|
|
----------------
|
|
|
|
|
|
|
|
Design notes, legal information and changelog are here for the interested.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
design
|
|
|
|
htmlfaq
|
|
|
|
security
|
|
|
|
extensiondev
|
|
|
|
contributing
|
2021-02-25 02:09:38 +08:00
|
|
|
license
|
|
|
|
changes
|