diff options
| author | Patrick Canfield <patrickcandoit@gmail.com> | 2013-03-18 13:05:41 -0700 |
|---|---|---|
| committer | Pzatrick <patrickcandoit@gmail.com> | 2013-03-21 13:34:15 -0700 |
| commit | b1611cf0d24e2947ebfb58071ff7c695a1d824cc (patch) | |
| tree | 27353fbb1a28ec014fd1e473079259e387625bfc /docs/tutorials/wiki2/basiclayout.rst | |
| parent | 203fe8b2a92c18151894f0656b7846cef8ec4e51 (diff) | |
| download | pyramid-b1611cf0d24e2947ebfb58071ff7c695a1d824cc.tar.gz pyramid-b1611cf0d24e2947ebfb58071ff7c695a1d824cc.tar.bz2 pyramid-b1611cf0d24e2947ebfb58071ff7c695a1d824cc.zip | |
Update definingviews.rst explain matchdict more explicitly, concisely
Diffstat (limited to 'docs/tutorials/wiki2/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/wiki2/basiclayout.rst | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/tutorials/wiki2/basiclayout.rst b/docs/tutorials/wiki2/basiclayout.rst index 109d368b8..6d6287126 100644 --- a/docs/tutorials/wiki2/basiclayout.rst +++ b/docs/tutorials/wiki2/basiclayout.rst @@ -228,11 +228,10 @@ To give a simple example of a model class, we define one named ``MyModel``: Our example model has an ``__init__`` method that takes two arguments (``name``, and ``value``). It stores these values as ``self.name`` and -``self.value`` -within the ``__init__`` function itself. The ``MyModel`` class also has a -``__tablename__`` attribute. This informs SQLAlchemy which table to use to -store the data representing instances of this class. +``self.value`` within the ``__init__`` function itself. The ``MyModel`` class +also has a ``__tablename__`` attribute. This informs SQLAlchemy which table +to use to store the data representing instances of this class. -That's about all there is to it to models, views, and initialization code in +That's about all there is to it with models, views, and initialization code in our stock application. |
