e432b39 by Anon Ray at 2014-03-08 |
1 |
# Copy the contents of this file to config.py |
|
2 |
|
|
3 |
# Import the SQLAlchemy database (db) object from your application |
|
4 |
# the object which has he Model and Column classes |
|
5 |
# Even if your application calls it something else, import it, and assign it to |
|
6 |
# db: like: |
|
7 |
# from yourapp import database |
|
8 |
# db = database |
|
9 |
|
|
10 |
from yourapp import db |
|
11 |
|
|
12 |
# keep this line as it is..this passes the database object to the user |
|
13 |
# management modules |
|
14 |
__all__ = ['db'] |