From 100776147a063dcf53f74678b045ac0f5d6386d4 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 18 Apr 2010 18:40:52 +0200 Subject: [PATCH] Added troubleshooting section to the tutorial --- docs/tutorial/dbinit.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/tutorial/dbinit.rst b/docs/tutorial/dbinit.rst index 80341d63..0dc87d58 100644 --- a/docs/tutorial/dbinit.rst +++ b/docs/tutorial/dbinit.rst @@ -55,3 +55,9 @@ importing and calling that function:: >>> from flaskr import 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).