diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-05-10 22:22:04 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-05-10 22:22:04 +0000 |
| commit | 0ce7d36aea659cc9bdb002d6f994565ebf8efc59 (patch) | |
| tree | 4f7f065324eba564dd03b254bdf39c4b32e0e1f8 | |
| parent | b1908e63dce0a620806aa599a149ea2e8b4b9c2b (diff) | |
| download | pyramid-0ce7d36aea659cc9bdb002d6f994565ebf8efc59.tar.gz pyramid-0ce7d36aea659cc9bdb002d6f994565ebf8efc59.tar.bz2 pyramid-0ce7d36aea659cc9bdb002d6f994565ebf8efc59.zip | |
Docs tweaks.
| -rw-r--r-- | docs/narr/urldispatch.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst index b53292d2f..5bb81350c 100644 --- a/docs/narr/urldispatch.rst +++ b/docs/narr/urldispatch.rst @@ -65,6 +65,10 @@ calling the root factory callable passed to the application in it's your ZCML ``route`` statements appropriately, you can mix and match URL dispatch and traversal in this way. +A root factory is not required for purely URL-dispatch-based apps: if +the root factory callable is ``None``, :mod:`repoze.bfg` will return a +NotFound error to the user's browser when no routes match. + .. note:: See :ref:`modelspy_project_section` for an example of a simple root factory callable that will use traversal. |
