summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/basiclayout.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2016-02-07 13:57:51 -0600
committerMichael Merickel <michael@merickel.org>2016-02-07 13:57:51 -0600
commitd1cb34643e086ac74965455b486ce0058764324f (patch)
tree56a344664e9a49c54b6dd7ad03a0f709500e0dc6 /docs/tutorials/wiki2/basiclayout.rst
parent21d69fd97b66401264746bb7dad1e8d4bd2491b9 (diff)
downloadpyramid-d1cb34643e086ac74965455b486ce0058764324f.tar.gz
pyramid-d1cb34643e086ac74965455b486ce0058764324f.tar.bz2
pyramid-d1cb34643e086ac74965455b486ce0058764324f.zip
assume the user is in the tutorial folder
this is already assumed inside of installation where commands are run relative to setup.py
Diffstat (limited to 'docs/tutorials/wiki2/basiclayout.rst')
-rw-r--r--docs/tutorials/wiki2/basiclayout.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/tutorials/wiki2/basiclayout.rst b/docs/tutorials/wiki2/basiclayout.rst
index 6d1ff73a0..eb315d2cb 100644
--- a/docs/tutorials/wiki2/basiclayout.rst
+++ b/docs/tutorials/wiki2/basiclayout.rst
@@ -16,7 +16,7 @@ package. We use ``__init__.py`` both as a marker, indicating the directory in
which it's contained is a package, and to contain application configuration
code.
-Open ``tutorial/tutorial/__init__.py``. It should already contain the
+Open ``tutorial/__init__.py``. It should already contain the
following:
.. literalinclude:: src/basiclayout/tutorial/__init__.py
@@ -134,7 +134,7 @@ The main function of a web framework is mapping each URL pattern to code (a
corresponding :term:`route`. Our application uses the
:meth:`pyramid.view.view_config` decorator to perform this mapping.
-Open ``tutorial/tutorial/views/default.py`` in the ``views`` package. It
+Open ``tutorial/views/default.py`` in the ``views`` package. It
should already contain the following:
.. literalinclude:: src/basiclayout/tutorial/views/default.py
@@ -179,7 +179,7 @@ In a SQLAlchemy-based application, a *model* object is an object composed by
querying the SQL database. The ``models`` package is where the ``alchemy``
scaffold put the classes that implement our models.
-First, open ``tutorial/tutorial/models/meta.py``, which should already contain
+First, open ``tutorial/models/meta.py``, which should already contain
the following:
.. literalinclude:: src/basiclayout/tutorial/models/meta.py
@@ -234,7 +234,7 @@ The ``MyModel`` class has a ``__tablename__`` attribute. This informs
SQLAlchemy which table to use to store the data representing instances of this
class.
-Finally, open ``tutorial/tutorial/models/__init__.py``, which should already
+Finally, open ``tutorial/models/__init__.py``, which should already
contain the following:
.. literalinclude:: src/basiclayout/tutorial/models/__init__.py