aboutsummaryrefslogtreecommitdiff
path: root/manage.py
blob: 056fef2cc30bcd2f5a80625f018d89a01ac26da5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/env python
# -*- coding: utf-8 -*-

from flask.ext.script import Manager
from flask.ext.migrate import Migrate, MigrateCommand

from pyaggr3g470r import app, db

migrate = Migrate(app, db)
manager = Manager(app)

manager.add_command('db', MigrateCommand)

if __name__ == '__main__':
    manager.run()
bgstack15