diff options
Diffstat (limited to 'python/Dawn/models.py')
| -rw-r--r-- | python/Dawn/models.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/Dawn/models.py b/python/Dawn/models.py index 1f2da77a..5bde4974 100644 --- a/python/Dawn/models.py +++ b/python/Dawn/models.py @@ -1,4 +1,3 @@ -from flask_sqlalchemy import SQLAlchemy from flask_wtf import Form from flask_wtf.file import FileField from sqlalchemy.dialects.postgresql import ENUM @@ -7,7 +6,7 @@ from wtforms.validators import Length from wtforms_alchemy import model_form_factory from sqlalchemy_utils import EmailType, PhoneNumberType -db = SQLAlchemy() +from . import db class Counterparties(db.Model): __tablename__ = 'counterparties' |
