accountant/manage.py

12 lines
244 B
Python
Raw Normal View History

2015-06-05 23:34:04 +02:00
#!/usr/bin/env python
2013-12-03 22:22:25 +01:00
from flask.ext.script import Manager
2015-06-05 23:34:04 +02:00
from flask.ext.migrate import MigrateCommand
2013-12-03 22:22:25 +01:00
2015-06-05 23:34:04 +02:00
from accountant import app
2013-12-03 22:22:25 +01:00
manager = Manager(app)
manager.add_command('db', MigrateCommand)
if __name__ == "__main__":
manager.run()