From 9dcd57c155c751ee7f8c207714bdb8edd599112f Mon Sep 17 00:00:00 2001 From: Bo-Chun Louis Chen <louistw@uab.edu> Date: Fri, 25 May 2018 12:44:26 -0500 Subject: [PATCH] Added SQLite problem and solution in README --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index c10ae29..1125d53 100644 --- a/README.md +++ b/README.md @@ -74,3 +74,16 @@ This is a project implementing the blog post by Mbithe Nzomo. 189 cls, key = identity_key(instance=obj)[:2] 190 return ':'.join(text_type(x) for x in key) ``` + +3. When use SQLite as database + + ```shell + OperationalError: (sqlite3.OperationalError) no such table + ``` + + **Solution:** + Move sqlite database file into app directory + + ```shell + $ mv app.db app/ + ``` -- GitLab