Fix db import in views.
This commit is contained in:
parent
d9da95aaa0
commit
64b9935f99
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user