diff options
| author | Steve Piercy <web@stevepiercy.com> | 2020-01-13 01:19:22 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2020-01-13 01:19:22 -0800 |
| commit | 715988f6946402a940a4b670b2a1b9ae7423b0aa (patch) | |
| tree | 8acac0768998a089dda1d1a8864f4afec983040b /docs/tutorials/wiki2/definingmodels.rst | |
| parent | 3a23085dc7ad597900c0ad4cbca8a342329386d2 (diff) | |
| download | pyramid-715988f6946402a940a4b670b2a1b9ae7423b0aa.tar.gz pyramid-715988f6946402a940a4b670b2a1b9ae7423b0aa.tar.bz2 pyramid-715988f6946402a940a4b670b2a1b9ae7423b0aa.zip | |
Improve requires section
- Improve narrative flow
- Remove test_requires from literalinclude
Diffstat (limited to 'docs/tutorials/wiki2/definingmodels.rst')
| -rw-r--r-- | docs/tutorials/wiki2/definingmodels.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/tutorials/wiki2/definingmodels.rst b/docs/tutorials/wiki2/definingmodels.rst index f84ca6588..129d77806 100644 --- a/docs/tutorials/wiki2/definingmodels.rst +++ b/docs/tutorials/wiki2/definingmodels.rst @@ -29,10 +29,10 @@ We need to add a dependency, the `bcrypt <https://pypi.org/project/bcrypt/>`_ pa package's ``setup.py`` file by assigning this dependency to the ``requires`` parameter in the ``setup()`` function. -Open ``tutorial/setup.py`` and edit it to look like the following: +Open ``tutorial/setup.py`` and edit it to look like the following by adding ``bcrypt`` and sorting the packages: .. literalinclude:: src/models/setup.py - :lines: 11-30 + :lines: 11-24 :linenos: :lineno-match: :emphasize-lines: 3 @@ -40,7 +40,6 @@ Open ``tutorial/setup.py`` and edit it to look like the following: It is a good practice to sort packages alphabetically to make them easier to find. Our cookiecutter does not have its packages sorted because it merely tacks on additional packages depending on our selections. -After adding ``bcrypt`` and sorting packages, we should have the above ``requires`` list. .. note:: |
