diff options
| author | Chris McDonough <chrism@plope.com> | 2012-03-17 14:08:55 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-03-17 14:08:55 -0400 |
| commit | 0070533a553c93b102f17e2013355b7b7e388cd1 (patch) | |
| tree | 916183906a0d2b4d297844489061182c10e62d24 /docs/tutorials/wiki2/basiclayout.rst | |
| parent | e9759f3ae42f68ab8dd6739dd07df0098d7e373a (diff) | |
| download | pyramid-0070533a553c93b102f17e2013355b7b7e388cd1.tar.gz pyramid-0070533a553c93b102f17e2013355b7b7e388cd1.tar.bz2 pyramid-0070533a553c93b102f17e2013355b7b7e388cd1.zip | |
explain base a bit
Diffstat (limited to 'docs/tutorials/wiki2/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/wiki2/basiclayout.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/tutorials/wiki2/basiclayout.rst b/docs/tutorials/wiki2/basiclayout.rst index 9661fcd6e..5f4ea671c 100644 --- a/docs/tutorials/wiki2/basiclayout.rst +++ b/docs/tutorials/wiki2/basiclayout.rst @@ -202,6 +202,9 @@ base class for our model: :lines: 17 :language: py +Our model classes will inherit from this ``Base`` class so they can be +associated with our particular database connection. + To give a simple example of a model class, we define one named ``MyModel``: .. literalinclude:: src/basiclayout/tutorial/models.py |
