tutorials/wiki2/definingviews.rst: Change example error page from
http://localhost:6543/add_page to http://localhost:6543/foobar/edit_page
For me, the former generates "404 Not Found" (probably because it
doesn't match a route) while the latter gives
"sqlalchemy.orm.exc.NoResultFound" and the nice traceback from Werkzeug.
| | |
| | | - ``http://localhost:6543/add_page/SomePageName`` in a |
| | | browser invokes the add view for a page. |
| | | |
| | | - To generate an error, visit ``http://localhost:6543/add_page`` which |
| | | - To generate an error, visit ``http://localhost:6543/foobars/edit_page`` which |
| | | will generate a ``NoResultFound: No row was found for one()`` error. |
| | | You'll see an interactive traceback facility provided |
| | | by :term:`pyramid_debugtoolbar`. |