summaryrefslogtreecommitdiff
path: root/docs/quick_tour.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2015-11-11 18:36:20 -0800
committerSteve Piercy <web@stevepiercy.com>2015-11-11 18:36:20 -0800
commit1d53e54aee69b9ce71b521b3294e6946ac831c34 (patch)
tree42f63f06ee51eb2e9c6007c7d24aac55acd8aceb /docs/quick_tour.rst
parentb37fd1e1cb3d845accc66597dcd135197da0cb48 (diff)
parentfea87a5cbb4edbfef204283c23d5b0d8fb5220f8 (diff)
downloadpyramid-1d53e54aee69b9ce71b521b3294e6946ac831c34.tar.gz
pyramid-1d53e54aee69b9ce71b521b3294e6946ac831c34.tar.bz2
pyramid-1d53e54aee69b9ce71b521b3294e6946ac831c34.zip
Merge pull request #2108 from stevepiercy/feature/alchemy-scaffold-update
update wiki2/src/basiclayout/tutorial
Diffstat (limited to 'docs/quick_tour.rst')
-rw-r--r--docs/quick_tour.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/quick_tour.rst b/docs/quick_tour.rst
index be5be2e36..87c6f1e1c 100644
--- a/docs/quick_tour.rst
+++ b/docs/quick_tour.rst
@@ -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