I have a sqlite3 database but the database is only getting updated when I restart the Flask server.
I think it is because I don't tell Flask that it is a database. So I started using SQLAlchemy and set
db = SQLAlchemy(app)
but SQLAlchemy uses pysqlite2 and pysqlite2 will not work on my computer.
Is there a way to use APSW (another python sqlite3 wrapper) with SQLALchemy?
Or is there a way to tell flask to use my database without SQLAlchemy?
or is my problem of the database not updating fixed another way?
Just use this flask tutorial. It uses sqlite and there is no use of sqlalchemy.
http://flask.pocoo.org/docs/tutorial/