summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/definingmodels.rst
diff options
context:
space:
mode:
authorChristoph Zwerschke <cito@online.de>2011-06-05 15:27:17 +0200
committerChristoph Zwerschke <cito@online.de>2011-06-05 15:27:17 +0200
commit879bb56558527e402bc8b0135ce2b40d24fe4a12 (patch)
treec3aaa0bb9a27232e2bc70691500298262a57dfbf /docs/tutorials/wiki2/definingmodels.rst
parentaee35e30083acd3d3c84e7f50db1f17bf6dc2d12 (diff)
downloadpyramid-879bb56558527e402bc8b0135ce2b40d24fe4a12.tar.gz
pyramid-879bb56558527e402bc8b0135ce2b40d24fe4a12.tar.bz2
pyramid-879bb56558527e402bc8b0135ce2b40d24fe4a12.zip
More small fixes made reading the rest of the docs and the tutorials.
Diffstat (limited to 'docs/tutorials/wiki2/definingmodels.rst')
-rw-r--r--docs/tutorials/wiki2/definingmodels.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/wiki2/definingmodels.rst b/docs/tutorials/wiki2/definingmodels.rst
index e5d283125..7aa2214fc 100644
--- a/docs/tutorials/wiki2/definingmodels.rst
+++ b/docs/tutorials/wiki2/definingmodels.rst
@@ -45,7 +45,7 @@ SQLAlchemy models are easier to use than directly-mapped ones.
:language: python
As you can see, our ``Page`` class has a class level attribute
-``__tablename__`` which equals the string ``pages``. This means that
+``__tablename__`` which equals the string ``'pages'``. This means that
SQLAlchemy will store our wiki data in a SQL table named ``pages``. Our Page
class will also have class-level attributes named ``id``, ``name`` and
``data`` (all instances of :class:`sqlalchemy.Column`). These will map to
@@ -67,7 +67,7 @@ Here, we're using a slightly different binding syntax. It is otherwise
largely the same as the ``initialize_sql`` in the paster-generated
``models.py``.
-Our DBSession assignment stays the same as the original generated
+Our ``DBSession`` assignment stays the same as the original generated
``models.py``.
Looking at the Result of all Our Edits to ``models.py``