From 0ce7d36aea659cc9bdb002d6f994565ebf8efc59 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 10 May 2009 22:22:04 +0000 Subject: Docs tweaks. --- docs/narr/urldispatch.rst | 4 ++++ 1 file changed, 4 insertions(+) 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. -- cgit v1.2.3