summaryrefslogtreecommitdiff
path: root/docs/tutorials/bfgwiki2/authorization.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-12-09 05:26:41 +0000
committerChris McDonough <chrism@agendaless.com>2009-12-09 05:26:41 +0000
commit20ef6a98e7abaeb8c3ee1133eff39ab90a286df9 (patch)
treeb36091069a879c50bc5185f8abe116d572d7c84a /docs/tutorials/bfgwiki2/authorization.rst
parent2bec99e31b8b22e1f5af4ebcc4a8d544be70c5e0 (diff)
downloadpyramid-20ef6a98e7abaeb8c3ee1133eff39ab90a286df9.tar.gz
pyramid-20ef6a98e7abaeb8c3ee1133eff39ab90a286df9.tar.bz2
pyramid-20ef6a98e7abaeb8c3ee1133eff39ab90a286df9.zip
Excise make_app from docs.
Diffstat (limited to 'docs/tutorials/bfgwiki2/authorization.rst')
-rw-r--r--docs/tutorials/bfgwiki2/authorization.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/tutorials/bfgwiki2/authorization.rst b/docs/tutorials/bfgwiki2/authorization.rst
index f701b4ef8..5257bbe5f 100644
--- a/docs/tutorials/bfgwiki2/authorization.rst
+++ b/docs/tutorials/bfgwiki2/authorization.rst
@@ -25,10 +25,10 @@ security declarations; when we begin to use a custom root factory to
generate our contexts, we can begin to make use of the declarative
security features of :mod:`repoze.bfg`.
-Let's modify our ``run.py``, passing in a :term:`root factory` as the
-first argument to ``repoze.bfg.router.make_app``. We'll point it at a
-new class we create inside our ``models.py`` file. Add the following
-statements to your ``models.py`` file:
+Let's modify our ``run.py``, passing in a :term:`root factory` to our
+:term:`Configurator` constructor. We'll point it at a new class we
+create inside our ``models.py`` file. Add the following statements to
+your ``models.py`` file:
.. code-block:: python
@@ -58,8 +58,8 @@ See :ref:`assigning_acls` for more information about what an
:ref:`route_zcml_directive` for more info.
We'll pass the ``RootFactory`` we created in the step above in as the
-first argument to ``make_app``. When we're done, your application's
-``run.py`` will look like this.
+``root_factory`` argument to a :term:`Configurator`. When we're done,
+your application's ``run.py`` will look like this.
.. literalinclude:: src/authorization/tutorial/run.py
:linenos: