librelist archives

« back to archive

OperationalError with Flask-Security

OperationalError with Flask-Security

From:
Alex
Date:
2012-07-24 @ 10:27
Hi all.

I recently discovered Flask-Security [^1]. It seems a great extension
but I'm encountering some issues trying to make it work in my
application.
I integrated the example code in the getting started section of the
docs [^2] but when I try to run it I get an OperationalError from
Flask-SQLAlchemy: it seems the extension does not create the User and
Role table so SQLAlchemy complains about a non existing table.

Anybody have experience with Flask-Security and can help me?


Alex


[1]: http://packages.python.org/Flask-Security/
[2]: http://packages.python.org/Flask-Security/#getting-started