Marc Abramowitz
2012-11-30 9223b3cbff80328431e3711eba2a317bb206286e
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.
1 files modified
2 ■■■ changed files
docs/tutorials/wiki2/definingviews.rst 2 ●●● patch | view | raw | blame | history
docs/tutorials/wiki2/definingviews.rst
@@ -366,7 +366,7 @@
- ``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`.