Browse Source

Added troubleshooting section to the tutorial

pull/1638/head
Armin Ronacher 15 years ago
parent
commit
100776147a
  1. 6
      docs/tutorial/dbinit.rst

6
docs/tutorial/dbinit.rst

@ -55,3 +55,9 @@ importing and calling that function::
>>> from flaskr import init_db >>> from flaskr import init_db
>>> init_db() >>> init_db()
.. admonition:: Troubleshooting
If you get an exception later that a table cannot be found check that
you did call the `init_db` function and that your table names are
correct (singular vs. plural for example).

Loading…
Cancel
Save