diff options
| -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. |
