summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAudrey Roy <audreyr@gmail.com>2012-03-12 17:21:08 -0700
committerAudrey Roy <audreyr@gmail.com>2012-03-12 17:21:08 -0700
commitd0f5c6885d584493c451d776867d44585c89ec02 (patch)
treea4e9c410a1a3da898d2d1a6506e0b38acc28beec /docs
parentc46f550c84d905e1911ac1f6efb62754dd41b5cf (diff)
downloadpyramid-d0f5c6885d584493c451d776867d44585c89ec02.tar.gz
pyramid-d0f5c6885d584493c451d776867d44585c89ec02.tar.bz2
pyramid-d0f5c6885d584493c451d776867d44585c89ec02.zip
More clarification, telling the user to open specified files.
Diffstat (limited to 'docs')
-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 888ae0bf3..0fca0edf9 100644
--- a/docs/tutorials/wiki2/basiclayout.rst
+++ b/docs/tutorials/wiki2/basiclayout.rst
@@ -18,7 +18,7 @@ an ``__init__.py`` file. Even if empty, this marks a directory as a Python
package. We use ``__init__.py`` both as a marker indicating the directory
it's contained within is a package, and to contain configuration code.
-Open the ``tutorial/tutorial/__init__.py`` file. It should already contain
+Open ``tutorial/tutorial/__init__.py``. It should already contain
the following:
.. literalinclude:: src/basiclayout/tutorial/__init__.py
@@ -128,7 +128,7 @@ pattern matches is done by registering a :term:`view configuration`. Our
application uses the :meth:`pyramid.view.view_config` decorator to map view
callables to each route, thereby mapping URL patterns to code.
-Here is the entirety of code in the ``views.py`` file within our package:
+Open ``tutorial/tutorial/views.py``. It should already contain the following:
.. literalinclude:: src/basiclayout/tutorial/views.py
:linenos:
@@ -165,13 +165,13 @@ In a SQLAlchemy-based application, a *model* object is an object composed by
querying the SQL database. The ``models.py`` file is where the ``alchemy``
scaffold put the classes that implement our models.
-Here is the complete source for ``models.py``:
+Open ``tutorial/tutorial/models.py``. It should already contain the following:
.. literalinclude:: src/basiclayout/tutorial/models.py
:linenos:
:language: py
-Let's take a look. First, we need some imports to support later code.
+Let's examine this in detail. First, we need some imports to support later code:
.. literalinclude:: src/basiclayout/tutorial/models.py
:end-before: DBSession