Page MenuHome

manage.py
No OneTemporary

manage.py

from application import app
from application import db
from flask.ext.script import Manager
# from flask.ext.migrate import Migrate
# from flask.ext.migrate import MigrateCommand
# migrate = Migrate(app, db)
manager = Manager(app)
# manager.add_command('db', MigrateCommand)
@manager.command
def create_all_tables():
db.create_all()
manager.run()

File Metadata

Mime Type
text/x-python
Expires
Fri, Dec 4, 1:50 AM (1 d, 23 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
76/27/32d41979496c7cd339b15f074bfa

Event Timeline