Fix db import in views.
This commit is contained in:
1 parent
d9da95aaa0
commit
64b9935f99
3 files changed
+3
-4
No files matched your search
@@ -17,8 +17,8 @@
|
|||||||
import dateutil.parser
|
import dateutil.parser
|
||||||
|
|
||||||
from flask_restplus import Namespace, Resource, fields, marshal_with_field
|
from flask_restplus import Namespace, Resource, fields, marshal_with_field
|
||||||
from accountant import db
|
|
||||||
|
|
||||||
|
from ..models import db
|
||||||
from ..models.accounts import Account
|
from ..models.accounts import Account
|
||||||
from ..models.operations import Operation
|
from ..models.operations import Operation
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
import dateutil.parser
|
import dateutil.parser
|
||||||
|
|
||||||
from flask_restplus import Namespace, Resource, fields, marshal_with_field
|
from flask_restplus import Namespace, Resource, fields, marshal_with_field
|
||||||
from accountant import db
|
|
||||||
|
|
||||||
|
from ..models import db
|
||||||
from ..models.accounts import Account
|
from ..models.accounts import Account
|
||||||
from ..models.operations import Operation
|
from ..models.operations import Operation
|
||||||
|
|
||||||
|
|||||||
@@ -18,8 +18,7 @@ from flask_restplus import Namespace, Resource, fields, marshal_with_field
|
|||||||
|
|
||||||
from sqlalchemy import true
|
from sqlalchemy import true
|
||||||
|
|
||||||
from accountant import db
|
from ..models import db
|
||||||
|
|
||||||
from ..models.accounts import Account
|
from ..models.accounts import Account
|
||||||
from ..models.operations import Operation
|
from ..models.operations import Operation
|
||||||
from ..models.scheduled_operations import ScheduledOperation
|
from ..models.scheduled_operations import ScheduledOperation
|
||||||
|
|||||||
Reference in new issue
Block a user