Skip to content
Snippets Groups Projects
Commit 9dcd57c1 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Added SQLite problem and solution in README

parent cd99a021
No related branches found
No related tags found
No related merge requests found
...@@ -74,3 +74,16 @@ This is a project implementing the blog post by Mbithe Nzomo. ...@@ -74,3 +74,16 @@ This is a project implementing the blog post by Mbithe Nzomo.
189 cls, key = identity_key(instance=obj)[:2] 189 cls, key = identity_key(instance=obj)[:2]
190 return ':'.join(text_type(x) for x in key) 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/
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment