Skip to content
Myr

Added links to Flask-WTF and Flask-SQLAlchemy. This fixes #73

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent e753222 · Browse files · 2 files+24 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+24 added−1 removed

  • other:+24 added−1 removed

2 files+24 added−1 removed

modified:docs/patterns/sqlalchemy.rst+15 added-1 removed
6 unmodified lines
7encouraged to use a package instead of a module for your flask application8and drop the models into a separate module (:ref:`larger-applications`).9While that is not necessary, it makes a lot of sense.1011There are three very common ways to use SQLAlchemy. I will outline each11There are four very common ways to use SQLAlchemy. I will outline each12of them here:1314Flask-SQLAlchemy Extension15--------------------------1617Because SQLAlchemy is a common database abstraction layer and object18relational mapper that requires a little bit of configuration effort,19there is a Flask extension that handles that for you. This is recommended20if you want to get started quickly.2122You can download `Flask-SQLAlchemy`_ from `PyPI23<http://pypi.python.org/pypi/Flask-SQLAlchemy>`_.2425.. _Flask-SQLAlchemy: http://packages.python.org/Flask-SQLAlchemy/262728Declarative29-----------3031The declarative extension in SQLAlchemy is the most recent method of using
176 unmodified lines
modified:docs/patterns/wtforms.rst+9 added
10 unmodified lines
11first. I recommend breaking up the application into multiple modules 12(:ref:`larger-applications`) for that and adding a separate module for the13forms.1415.. admonition:: Getting most of WTForms with an Extension1617 The `Flask-WTF`_ extension expands on this pattern and adds a few18 handful little helpers that make working with forms and Flask more19 fun. You can get it from `PyPI20 <http://pypi.python.org/pypi/Flask-WTF>`_.2122.. _Flask-WTF: http://packages.python.org/Flask-WTF/2324The Forms25---------2627This is an example form for a typical registration page::
97 unmodified lines