summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/authorization.rst
diff options
context:
space:
mode:
authorMichael Merickel <github@m.merickel.org>2024-02-07 20:52:05 -0700
committerGitHub <noreply@github.com>2024-02-07 20:52:05 -0700
commit53eb7e7cc6b7bfdedb4df4821af66619bebf909c (patch)
treec0244a2971d7fead848359f3d83fe158f8b509ad /docs/tutorials/wiki/authorization.rst
parent151ebdc003a3a372017fdf73c14fbebcc550535d (diff)
parentfea81c0cf25402c7088b002be7a1672d29841345 (diff)
downloadpyramid-53eb7e7cc6b7bfdedb4df4821af66619bebf909c.tar.gz
pyramid-53eb7e7cc6b7bfdedb4df4821af66619bebf909c.tar.bz2
pyramid-53eb7e7cc6b7bfdedb4df4821af66619bebf909c.zip
Merge pull request #3751 from Pylons/tseaver-refresh-zodb-tutorial
docs: refresh ZODB wiki tutorial
Diffstat (limited to 'docs/tutorials/wiki/authorization.rst')
-rw-r--r--docs/tutorials/wiki/authorization.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst
index 2b700ee5b..f7f1be8d0 100644
--- a/docs/tutorials/wiki/authorization.rst
+++ b/docs/tutorials/wiki/authorization.rst
@@ -38,12 +38,12 @@ Add dependencies
~~~~~~~~~~~~~~~~
Just like in :ref:`wiki_defining_views`, we need a new dependency.
-We need to add the `bcrypt <https://pypi.org/project/bcrypt/>`_ package to our tutorial package's ``setup.py`` file by assigning this dependency to the ``requires`` parameter in the ``setup()`` function.
+We need to add the `bcrypt <https://pypi.org/project/bcrypt/>`_ package to our tutorial package's ``pyproject.toml`` file by assigning this dependency to the ``dependencies`` stanza.
-Open ``setup.py`` and edit it to look like the following:
+Open ``pyproject.toml`` and edit it to look like the following:
-.. literalinclude:: src/authorization/setup.py
- :lines: 11-30
+.. literalinclude:: src/authorization/pyproject.toml
+ :lines: 20-33
:lineno-match:
:emphasize-lines: 2
:language: python