summaryrefslogtreecommitdiff
path: root/docs/tutorials/bfgwiki/definingmodels.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-12-28 04:12:10 +0000
committerChris McDonough <chrism@agendaless.com>2009-12-28 04:12:10 +0000
commit125e9746a5da925243dabf67b2609b556bb9215a (patch)
tree2ef52dadcf40f840586293f8cf66e9a11d0f04b0 /docs/tutorials/bfgwiki/definingmodels.rst
parent48ed96bf621128adf59b225f1c8e33af44bc0594 (diff)
downloadpyramid-125e9746a5da925243dabf67b2609b556bb9215a.tar.gz
pyramid-125e9746a5da925243dabf67b2609b556bb9215a.tar.bz2
pyramid-125e9746a5da925243dabf67b2609b556bb9215a.zip
Adjust for 7.5x9.25in output.
Diffstat (limited to 'docs/tutorials/bfgwiki/definingmodels.rst')
-rw-r--r--docs/tutorials/bfgwiki/definingmodels.rst17
1 files changed, 8 insertions, 9 deletions
diff --git a/docs/tutorials/bfgwiki/definingmodels.rst b/docs/tutorials/bfgwiki/definingmodels.rst
index 3c41e9dbe..ef5798362 100644
--- a/docs/tutorials/bfgwiki/definingmodels.rst
+++ b/docs/tutorials/bfgwiki/definingmodels.rst
@@ -71,11 +71,10 @@ Add an Appmaker
---------------
We're using a mini-framework callable named
-:class:`repoze.zodbconn.finder.PersistentApplicationFinder` in our
-application (see ``run.py``). A
-:class:`repoze.zodbconn.finder.PersistentApplicationFinder` accepts a
-ZODB URL as well as an "appmaker" callback. This callback typically
-lives in the ``models.py`` file.
+``repoze.zodbconn.finder.PersistentApplicationFinder`` in our
+application (see ``run.py``). A ``PersistentApplicationFinder``
+accepts a ZODB URL as well as an "appmaker" callback. This callback
+typically lives in the ``models.py`` file.
We want to change the appmaker function in our ``models.py`` file so
that our application root is a Wiki instance, and we'll also slot a
@@ -120,19 +119,19 @@ directory is the "tutorial" distribution directory:
On UNIX:
-.. code-block:: bash
+.. code-block:: text
$ ../bin/python setup.py test -q
On Windows:
-.. code-block:: bash
+.. code-block:: text
- c:\bigfntut\tutorial> ..\Scripts\python setup.py test -q
+ c:\bigfntut\tutorial> ..\Scripts\python setup.py test -q
The expected output is something like this:
-.. code-block:: bash
+.. code-block:: text
.....
----------------------------------------------------------------------