diff options
| author | Steve Piercy <web@stevepiercy.com> | 2015-11-11 18:23:54 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2015-11-11 18:23:54 -0800 |
| commit | 91ccc4540800708e7d312fe4a988edb0a9543624 (patch) | |
| tree | b8272cbb42491f718e9fa2da16e3db0a219c9134 /docs/quick_tour.rst | |
| parent | 7d54301859565c789eb12bb8b0b0dd7049704c1c (diff) | |
| download | pyramid-91ccc4540800708e7d312fe4a988edb0a9543624.tar.gz pyramid-91ccc4540800708e7d312fe4a988edb0a9543624.tar.bz2 pyramid-91ccc4540800708e7d312fe4a988edb0a9543624.zip | |
sqla_demo/sqla_demo
- update references in literalincludes
Diffstat (limited to 'docs/quick_tour.rst')
| -rw-r--r-- | docs/quick_tour.rst | 4 |
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 |
