Browse files

The import also has changed and needs to be edited by the user, so I …

…highlighted it.
  • Loading branch information...
1 parent bba887c commit 884793e123ee2750071cabab34be2d3c2194020a @audreyr audreyr committed with reedobrien Mar 13, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 docs/tutorials/wiki2/definingmodels.rst
@@ -67,12 +67,15 @@ script. In particular, we'll replace our import of ``MyModel`` with one of
``Page`` and we'll change the very end of the script to create a ``Page``
rather than a ``MyModel`` and add it to our ``DBSession``.
-The result of all of our edits to ```` will end up looking
-something like this:
+Open ``tutorial/tutorial/scripts/`` and edit it to look like the
.. literalinclude:: src/models/tutorial/scripts/
:language: python
+ :emphasize-lines: 14,34
+(Only the highlighted lines need to be changed.)
Repopulating the Database

0 comments on commit 884793e

Please sign in to comment.