summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/definingmodels.rst
diff options
context:
space:
mode:
authorBlaise Laflamme <blaise@laflamme.org>2012-03-12 17:11:02 -0700
committerBlaise Laflamme <blaise@laflamme.org>2012-03-12 17:11:02 -0700
commitc46f550c84d905e1911ac1f6efb62754dd41b5cf (patch)
tree775a9fe0e65a9b23f6e23fa68e449a5c63f4a4cd /docs/tutorials/wiki2/definingmodels.rst
parentc8825fb047941fb7567fdf147e957acf81b6426b (diff)
parent197808638a50dc085efc7511e24c043274e35663 (diff)
downloadpyramid-c46f550c84d905e1911ac1f6efb62754dd41b5cf.tar.gz
pyramid-c46f550c84d905e1911ac1f6efb62754dd41b5cf.tar.bz2
pyramid-c46f550c84d905e1911ac1f6efb62754dd41b5cf.zip
Merge pull request #472 from audreyr/master
Clarified instructions in wiki2 tutorial
Diffstat (limited to 'docs/tutorials/wiki2/definingmodels.rst')
-rw-r--r--docs/tutorials/wiki2/definingmodels.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/tutorials/wiki2/definingmodels.rst b/docs/tutorials/wiki2/definingmodels.rst
index 66106ffee..ca0493f32 100644
--- a/docs/tutorials/wiki2/definingmodels.rst
+++ b/docs/tutorials/wiki2/definingmodels.rst
@@ -21,11 +21,15 @@ Making Edits to ``models.py``
(or they may live in a Python subpackage of your application package named
``models``) , but this is only by convention.
-Here's what our ``models.py`` file should look like after this step:
+Open ``tutorial/tutorial/models.py`` file and edit it to look like the
+following:
.. literalinclude:: src/models/tutorial/models.py
:linenos:
:language: py
+ :emphasize-lines: 19-21,24,26,28
+
+(The highlighted lines are the ones that need to be changed.)
The first thing we've done is to do is remove the stock ``MyModel`` class
from the generated ``models.py`` file. The ``MyModel`` class is only a