diff options
| author | Patricio Paez <pp@pp.com.mx> | 2012-03-12 17:57:13 -0700 |
|---|---|---|
| committer | Patricio Paez <pp@pp.com.mx> | 2012-03-12 17:57:13 -0700 |
| commit | 533c89ebe807f02f5eae3240e770864b21f78168 (patch) | |
| tree | 4814326602401bd640a5233c7040ac031c96611e /docs/tutorials/wiki2/definingviews.rst | |
| parent | 218ad474c5e8db6925ed6a5f4067ae3db69f68c8 (diff) | |
| download | pyramid-533c89ebe807f02f5eae3240e770864b21f78168.tar.gz pyramid-533c89ebe807f02f5eae3240e770864b21f78168.tar.bz2 pyramid-533c89ebe807f02f5eae3240e770864b21f78168.zip | |
Clarify two steps in the SQL wiki tutorial
- Highlight the added or changed lines
Diffstat (limited to 'docs/tutorials/wiki2/definingviews.rst')
| -rw-r--r-- | docs/tutorials/wiki2/definingviews.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/tutorials/wiki2/definingviews.rst b/docs/tutorials/wiki2/definingviews.rst index 592b183a4..5f7526b24 100644 --- a/docs/tutorials/wiki2/definingviews.rst +++ b/docs/tutorials/wiki2/definingviews.rst @@ -28,15 +28,18 @@ dependency of the original "tutorial" application. The original "tutorial" application was generated by the ``pcreate`` command; it doesn't know about our custom application requirements. We need to add a dependency on the ``docutils`` package to our ``tutorial`` package's ``setup.py`` file by -assigning this dependency to the ``install_requires`` parameter in the +assigning this dependency to the ``requires`` parameter in the ``setup`` function. -Our resulting ``setup.py`` should look like so: +Open ``tutorial/setup.py`` and edit it to look like the following: .. literalinclude:: src/views/setup.py :linenos: + :emphasize-lines: 17 :language: python +(Only the highlighted line needs to be added) + Running ``setup.py develop`` ============================ |
