diff --git a/app/admin/views.py b/app/admin/views.py index 3ec05a1..13ef320 100644 --- a/app/admin/views.py +++ b/app/admin/views.py @@ -2,7 +2,7 @@ from flask_login import current_user, login_required from . import admin -from forms import DepartmentForm, EmployeeAssignForm, RoleForm +from .forms import DepartmentForm, EmployeeAssignForm, RoleForm from .. import db from ..models import Department, Employee, Role diff --git a/app/auth/views.py b/app/auth/views.py index d495dc1..4804127 100644 --- a/app/auth/views.py +++ b/app/auth/views.py @@ -2,7 +2,7 @@ from flask_login import login_required, login_user, logout_user from . import auth -from forms import LoginForm, RegistrationForm +from .forms import LoginForm, RegistrationForm from .. import db from ..models import Employee diff --git a/requirements.txt b/requirements.txt index c738059..b565b87 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,9 +12,9 @@ itsdangerous==0.24 Jinja2==2.8 Mako==1.0.6 MarkupSafe==0.23 -MySQL-python==1.2.5 +mysql-connector-python==8.0.18 python-editor==1.0.3 -SQLAlchemy==1.1.4 +SQLAlchemy==1.3.12 visitor==0.1.3 Werkzeug==0.11.11 WTForms==2.1