summaryrefslogtreecommitdiff
path: root/docs/tutorials
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-08-18 12:30:16 -0700
committerSteve Piercy <web@stevepiercy.com>2018-08-18 12:30:16 -0700
commit530a72d31bd514b565fb808b0f6e4c1c852945d1 (patch)
treebd4820e8f5d13949af825e378a8087c4346cde9d /docs/tutorials
parent7334522930c3846fda0b75e70d69b22b90d491a0 (diff)
downloadpyramid-530a72d31bd514b565fb808b0f6e4c1c852945d1.tar.gz
pyramid-530a72d31bd514b565fb808b0f6e4c1c852945d1.tar.bz2
pyramid-530a72d31bd514b565fb808b0f6e4c1c852945d1.zip
Clean up code-blocks in tutorials/wiki/definingmodels
Diffstat (limited to 'docs/tutorials')
-rw-r--r--docs/tutorials/wiki/definingmodels.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorials/wiki/definingmodels.rst b/docs/tutorials/wiki/definingmodels.rst
index 419fede62..e973cfdfe 100644
--- a/docs/tutorials/wiki/definingmodels.rst
+++ b/docs/tutorials/wiki/definingmodels.rst
@@ -43,8 +43,8 @@ Edit ``models.py``
Open ``tutorial/models.py`` file and edit it to look like the following:
.. literalinclude:: src/models/tutorial/models.py
- :linenos:
- :language: python
+ :linenos:
+ :language: python
The first thing we want to do is remove the ``MyModel`` class from the
generated ``models.py`` file. The ``MyModel`` class is only a sample and
@@ -91,6 +91,6 @@ up with a Python traceback on your console that ends with this exception:
.. code-block:: text
- ImportError: cannot import name MyModel
+ ImportError: cannot import name MyModel
This will also happen if you attempt to run the tests.