Reorganization.
This commit is contained in:
1 parent
5f67b1ffbd
commit
98843516f7
32 files changed
+7
-6
No files matched your search
@@ -15,14 +15,14 @@
|
||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from api import api
|
||||
from .api import api
|
||||
#from api.controller import login_manager
|
||||
from api.model import db
|
||||
from .api.model import db
|
||||
from flask import Flask
|
||||
from flask.ext.sqlalchemy import SQLAlchemy
|
||||
from frontend import frontend
|
||||
from .frontend import frontend
|
||||
from sqlalchemy.orm import sessionmaker
|
||||
import config
|
||||
from . import config
|
||||
|
||||
# The app
|
||||
app = Flask(__name__, static_folder = None)
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,7 +1,8 @@
|
||||
#!/usr/bin/env python
|
||||
from flask.ext.script import Manager
|
||||
from flask.ext.migrate import Migrate, MigrateCommand
|
||||
from flask.ext.migrate import MigrateCommand
|
||||
|
||||
from app import app
|
||||
from accountant import app
|
||||
|
||||
manager = Manager(app)
|
||||
manager.add_command('db', MigrateCommand)
|
||||
|
||||
Reference in new issue
Block a user