Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqla_demo/sqla_demo #2107

Merged
merged 1 commit into from
Nov 12, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/quick_tour.rst
Original file line number Diff line number Diff line change
Expand Up @@ -818,14 +818,14 @@ The ORM eases the mapping of database structures into a programming
language. SQLAlchemy uses "models" for this mapping. The scaffold
generated a sample model:

.. literalinclude:: quick_tour/sqla_demo/sqla_demo/models.py
.. literalinclude:: quick_tour/sqla_demo/sqla_demo/models/mymodel.py
:start-after: Start Sphinx Include
:end-before: End Sphinx Include

View code, which mediates the logic between web requests and the rest
of the system, can then easily get at the data thanks to SQLAlchemy:

.. literalinclude:: quick_tour/sqla_demo/sqla_demo/views.py
.. literalinclude:: quick_tour/sqla_demo/sqla_demo/views/default.py
:start-after: Start Sphinx Include
:end-before: End Sphinx Include

Expand Down