accountant-ui/manage.py
2015-07-17 19:22:49 +02:00

15 lines
286 B
Python
Executable File

#!/usr/bin/env python
from flask.ext.script import Manager
from flask.ext.migrate import Migrate, MigrateCommand
from accountant import app, db
manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command('db', MigrateCommand)
if __name__ == "__main__":
manager.run()