Files
smart-farm-africastalking-h…/Backend/manage.py
T
deepsource-autofix[bot] 21359873ce Format code with yapf and autopep8
This commit fixes the style issues introduced in 6a2226c according to the output
from yapf and autopep8.

Details: https://deepsource.io/gh/0x6f736f646f/smart-farm-africastalking-hackathon/transform/44b76b1e-167c-4f9c-bd5d-14b5e5589b20/
2021-10-03 11:12:33 +00:00

14 lines
258 B
Python

import os
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
from app import app, db
migrate = Migrate(app, db)
manager = Manager(app)
manager.add_command('db', MigrateCommand)
if __name__ == '__main__':
manager.run()