SQLAlchemy doesn't know what database driver (sqlite/mysql/postgres
etc.) to use for the string forum.db. You need to use one of the
forms described at:
http://docs.sqlalchemy.org/en/rel_0_9/core/engines.html#sqlite
In your case, something like:
app.config['SQLALCHEMY_DATABASE_URI'] =
Adding to what Simon said, the Flask docs use a database placed in `/tmp`,
not in the top-level root '/` of the computer.
--
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To unsubscribe from this group and stop receiving emails from it, send an
Hello guys,
I am learning Flask, I new started sqlalchemy with flask, so very easy is
both.
I am working with wtforms flask extension and sqlalchemy for flask
extension.
My Application and database initalize,
app = Flask(__name__)
# app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite::memory:'
how are the permissions on this file path:
/test.db
?
do you really want your database file in the root directory like that?
On Jul 21, 2014, at 2:58 PM, Imk Hacked ihacked1...@gmail.com wrote:
Hello guys,
I am learning Flask, I new started sqlalchemy with flask, so very easy is
both.