diff options
| author | Patricio Paez <pp@pp.com.mx> | 2011-04-20 19:53:52 -0500 |
|---|---|---|
| committer | Patricio Paez <pp@pp.com.mx> | 2011-04-20 19:53:52 -0500 |
| commit | 86eb032ca2a9c867b1bb1cb0b18e17bbb1927818 (patch) | |
| tree | dd0c02df01651fade368500c81690cdf2d27e38f /docs/tutorials | |
| parent | ce1278bc1de230ab9bf2ce03c36db829ad959d59 (diff) | |
| download | pyramid-86eb032ca2a9c867b1bb1cb0b18e17bbb1927818.tar.gz pyramid-86eb032ca2a9c867b1bb1cb0b18e17bbb1927818.tar.bz2 pyramid-86eb032ca2a9c867b1bb1cb0b18e17bbb1927818.zip | |
Sync with SQLAlchemy wiki tutorial
Diffstat (limited to 'docs/tutorials')
| -rw-r--r-- | docs/tutorials/wiki/definingmodels.rst | 14 |
1 files changed, 14 insertions, 0 deletions
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. |
