From 86eb032ca2a9c867b1bb1cb0b18e17bbb1927818 Mon Sep 17 00:00:00 2001 From: Patricio Paez Date: Wed, 20 Apr 2011 19:53:52 -0500 Subject: Sync with SQLAlchemy wiki tutorial --- docs/tutorials/wiki/definingmodels.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs') diff --git a/docs/tutorials/wiki/definingmodels.rst b/docs/tutorials/wiki/definingmodels.rst index c4abef1e8..baf497458 100644 --- a/docs/tutorials/wiki/definingmodels.rst +++ b/docs/tutorials/wiki/definingmodels.rst @@ -88,3 +88,17 @@ something like this: .. literalinclude:: src/models/tutorial/models.py :linenos: :language: python + +Viewing the Application in a Browser +------------------------------------ + +We can't. At this point, our system is in a "non-runnable" state; we'll need +to change view-related files in the next chapter to be able to start the +application successfully. If you try to start the application, you'll wind +up with a Python traceback on your console that ends with this exception: + +.. code-block:: text + + ImportError: cannot import name MyModel + +This will also happen if you attempt to run the tests. -- cgit v1.2.3