summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/basiclayout.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-01-06 22:57:34 -0600
committerMichael Merickel <michael@merickel.org>2020-01-06 22:57:34 -0600
commita4b0781604fd217341cc43eec47a95c725860ced (patch)
tree47dbf81eea8b184431bf48b72b1eb06ecb2b7128 /docs/tutorials/wiki2/basiclayout.rst
parentef5b4019633b8ca383df75bdf517932ee23f304e (diff)
downloadpyramid-a4b0781604fd217341cc43eec47a95c725860ced.tar.gz
pyramid-a4b0781604fd217341cc43eec47a95c725860ced.tar.bz2
pyramid-a4b0781604fd217341cc43eec47a95c725860ced.zip
sync basiclayout, installation, models with new structure
Diffstat (limited to 'docs/tutorials/wiki2/basiclayout.rst')
-rw-r--r--docs/tutorials/wiki2/basiclayout.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/tutorials/wiki2/basiclayout.rst b/docs/tutorials/wiki2/basiclayout.rst
index ae58d80a5..e8bc4c5a9 100644
--- a/docs/tutorials/wiki2/basiclayout.rst
+++ b/docs/tutorials/wiki2/basiclayout.rst
@@ -58,24 +58,24 @@ dictionary of settings parsed from the ``.ini`` file, which contains
deployment-related values, such as ``pyramid.reload_templates``,
``sqlalchemy.url``, and so on.
-Next include the package ``models`` using a dotted Python path. The exact
-setup of the models will be covered later.
+Next include :term:`Jinja2` templating bindings so that we can use renderers
+with the ``.jinja2`` extension within our project.
.. literalinclude:: src/basiclayout/tutorial/__init__.py
:lines: 8
:lineno-match:
:language: py
-Next include :term:`Jinja2` templating bindings so that we can use renderers
-with the ``.jinja2`` extension within our project.
+Next include the ``routes`` module using a dotted Python path. This module will
+be explained in the next section.
.. literalinclude:: src/basiclayout/tutorial/__init__.py
:lines: 9
:lineno-match:
:language: py
-Next include the ``routes`` module using a dotted Python path. This module will
-be explained in the next section.
+Next include the package ``models`` using a dotted Python path. The exact
+setup of the models will be covered later.
.. literalinclude:: src/basiclayout/tutorial/__init__.py
:lines: 10
@@ -207,7 +207,7 @@ Without repeating ourselves, we will point out the differences between this view
Content models with the ``models`` package
------------------------------------------
-In an SQLAlchemy-based application, a *model* object is an object composed by
+In a SQLAlchemy-based application, a *model* object is an object composed by
querying the SQL database. The ``models`` package is where the ``alchemy``
cookiecutter put the classes that implement our models.