Re: [sqlalchemy] How to connect to an already existing database in SqlAlchemy?

2014-07-04 Thread Michael Weylandt
Set app.config[SQLALCHEMY_DATABASE_URI] to point to your database. Normally won't create tables unless you call flask.ext.sqlalchemy.SQLAlchemy.creae_all explicitly. On Jun 27, 2014, at 1:47 PM, Aarushi ign ign.aaru...@gmail.com wrote: I am using Flask-SqlAlchemy. It does allows you to

[sqlalchemy] How to connect to an already existing database in SqlAlchemy?

2014-06-27 Thread Aarushi ign
I am using Flask-SqlAlchemy. It does allows you to make models but how do map an existing table to a class object so that u can use it later to do other functions like Pagination? My MySql database is created in different scripts and i need to access those tables and perform pagination. In