introduction.rst
This file
Path
docs/tutorial/introduction.rst
39 lines · 1.5 KiB
Last changed by
Merge pull request #2445 from brennv/add-version-warningHsiaoming Yangbefore adoption330792e
History of this fileTake it
The walk stopped after 200 commits: lines older than 6b3fbb3 point at it.
Add changelog entry for #1206Markus Unterwaditzerbefore adoption6b3fbb3
lines 1–5why, one step back1.. _tutorial-introduction:23Introducing Flaskr4==================5resolve merge conflictsKenneth Reitzbefore adoption31174fe
lines 6–8why, one step back6This tutorial will demonstrate a blogging application named Flaskr, but feel7free to choose your own less Web-2.0-ish name ;) Essentially, it will do the8following things:Add changelog entry for #1206Markus Unterwaditzerbefore adoption6b3fbb3
line 9why, one step back9Merge pull request #1277 from iKevinY/doc-fixesMarkus Unterwaditzerbefore adoption82d7c49
line 10why, one step back101. Let the user sign in and out with credentials specified in theAdd changelog entry for #1206Markus Unterwaditzerbefore adoption6b3fbb3
line 11why, one step back11 configuration. Only one user is supported.Merge pull request #1277 from iKevinY/doc-fixesMarkus Unterwaditzerbefore adoption82d7c49
line 12why, one step back122. When the user is logged in, they can add new entries to the pageAdd changelog entry for #1206Markus Unterwaditzerbefore adoption6b3fbb3
lines 13–14why, one step back13 consisting of a text-only title and some HTML for the text. This HTML14 is not sanitized because we trust the user here.Merge pull request #1277 from iKevinY/doc-fixesMarkus Unterwaditzerbefore adoption82d7c49
lines 15–16why, one step back153. The index page shows all entries so far in reverse chronological order16 (newest on top) and the user can add new ones from there if logged in.Add changelog entry for #1206Markus Unterwaditzerbefore adoption6b3fbb3
line 17why, one step back17resolve merge conflictsKenneth Reitzbefore adoption31174fe
lines 18–19why, one step back18SQLite3 will be used directly for this application because it's good enough19for an application of this size. For larger applications, however,Merge pull request #1277 from iKevinY/doc-fixesMarkus Unterwaditzerbefore adoption82d7c49
lines 20–21why, one step back20it makes a lot of sense to use `SQLAlchemy`_, as it handles database21connections in a more intelligent way, allowing you to target differentAdd changelog entry for #1206Markus Unterwaditzerbefore adoption6b3fbb3
lines 22–24why, one step back22relational databases at once and more. You might also want to consider23one of the popular NoSQL databases if your data is more suited for those.24Merge pull request #2445 from brennv/add-version-warningHsiaoming Yangbefore adoption330792e
lines 25–29why, one step back25.. warning::26 If you're following the tutorial from a specific version of the docs, be27 sure to check out the same tag in the repository, otherwise the tutorial28 may be different than the example.29resolve merge conflictsKenneth Reitzbefore adoption31174fe
line 30why, one step back30Here is a screenshot of the final application:Add changelog entry for #1206Markus Unterwaditzerbefore adoption6b3fbb3
lines 31–38why, one step back3132.. image:: ../_static/flaskr.png33 :align: center34 :class: screenshot35 :alt: screenshot of the final application3637Continue with :ref:`tutorial-folders`.38resolve merge conflictsKenneth Reitzbefore adoption31174fe
line 39why, one step back39.. _SQLAlchemy: https://www.sqlalchemy.org/