Tuesday, January 21, 2014

Generate Class From Existing Table Sql-Alchemy - Python

http://stackoverflow.com/questions/6290162/how-to-automatically-reflect-database-to-sqlalchemy-declarative

That is the key to the kingdom when it comes to using extensions like Flask-Admin and Flask-Restless on existing tables which do not have a class already.

No comments:

Post a Comment