diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-04-09 20:35:00 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-04-09 20:35:00 -0700 |
| commit | 2703e73c6d037ce0bf727e990feae095bb5bec4b (patch) | |
| tree | 2d61e8f3994565ba378186e436f081acf2516c62 /docs/tutorials/wiki/definingmodels.rst | |
| parent | 6ec5b882df903f98e2f5eae8149eb8c3746e6fcf (diff) | |
| download | pyramid-2703e73c6d037ce0bf727e990feae095bb5bec4b.tar.gz pyramid-2703e73c6d037ce0bf727e990feae095bb5bec4b.tar.bz2 pyramid-2703e73c6d037ce0bf727e990feae095bb5bec4b.zip | |
update basiclayout and its src
Diffstat (limited to 'docs/tutorials/wiki/definingmodels.rst')
| -rw-r--r-- | docs/tutorials/wiki/definingmodels.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/tutorials/wiki/definingmodels.rst b/docs/tutorials/wiki/definingmodels.rst index 954a317f8..73dce14d5 100644 --- a/docs/tutorials/wiki/definingmodels.rst +++ b/docs/tutorials/wiki/definingmodels.rst @@ -4,8 +4,8 @@ Defining the Domain Model ========================= -The first change we'll make to our stock pcreate-generated application will be -to define two :term:`resource` constructors, one representing a wiki page, +The first change we'll make to our stock ``pcreate``-generated application will +be to define two :term:`resource` constructors, one representing a wiki page, and another representing the wiki as a mapping of wiki page names to page objects. We'll do this inside our ``models.py`` file. @@ -40,8 +40,7 @@ Edit ``models.py`` or they may live in a Python subpackage of your application package named ``models``, but this is only by convention. -Open ``tutorial/tutorial/models.py`` file and edit it to look like the -following: +Open ``tutorial/models.py`` file and edit it to look like the following: .. literalinclude:: src/models/tutorial/models.py :linenos: |
