diff --git a/accountant/fields.py b/accountant/fields.py index dd2cd69..7ab4478 100644 --- a/accountant/fields.py +++ b/accountant/fields.py @@ -14,7 +14,7 @@ You should have received a copy of the GNU Affero General Public License along with Accountant. If not, see . """ -from flask.ext.restplus import marshal, fields +from flask_restplus import marshal, fields class Object(fields.Raw): diff --git a/accountant/models/users.py b/accountant/models/users.py index 3f23dd8..244cd22 100644 --- a/accountant/models/users.py +++ b/accountant/models/users.py @@ -21,7 +21,7 @@ from itsdangerous import (URLSafeTimedSerializer as Serializer, from flask import current_app as app -from flask.ext.login import UserMixin +from flask_login import UserMixin from accountant import db diff --git a/accountant/views/accounts.py b/accountant/views/accounts.py index 8531f5a..a855e4f 100644 --- a/accountant/views/accounts.py +++ b/accountant/views/accounts.py @@ -14,7 +14,7 @@ You should have received a copy of the GNU Affero General Public License along with Accountant. If not, see . """ -from flask.ext.restplus import Resource, fields, marshal_with_field +from flask_restplus import Resource, fields, marshal_with_field from accountant import db diff --git a/accountant/views/models.py b/accountant/views/models.py index 26ee2f5..7ceed60 100644 --- a/accountant/views/models.py +++ b/accountant/views/models.py @@ -14,7 +14,7 @@ You should have received a copy of the GNU Affero General Public License along with Accountant. If not, see . """ -from flask.ext.restplus import fields +from flask_restplus import fields from .. import api diff --git a/accountant/views/operations.py b/accountant/views/operations.py index a8e2c7a..9a82aff 100644 --- a/accountant/views/operations.py +++ b/accountant/views/operations.py @@ -14,7 +14,7 @@ You should have received a copy of the GNU Affero General Public License along with Accountant. If not, see . """ -from flask.ext.restplus import Resource, fields, marshal_with_field +from flask_restplus import Resource, fields, marshal_with_field from accountant import db diff --git a/accountant/views/parsers.py b/accountant/views/parsers.py index 1d4b31c..1c6e929 100644 --- a/accountant/views/parsers.py +++ b/accountant/views/parsers.py @@ -16,7 +16,7 @@ """ import dateutil.parser -from flask.ext.restful import reqparse +from flask_restplus import reqparse from .. import api diff --git a/accountant/views/scheduled_operations.py b/accountant/views/scheduled_operations.py index 4497bdd..217fb64 100644 --- a/accountant/views/scheduled_operations.py +++ b/accountant/views/scheduled_operations.py @@ -14,7 +14,7 @@ You should have received a copy of the GNU Affero General Public License along with Accountant. If not, see . """ -from flask.ext.restplus import Resource, fields, marshal_with_field +from flask_restplus import Resource, fields, marshal_with_field from sqlalchemy import true diff --git a/accountant/views/users.py b/accountant/views/users.py index fed6eea..2d05237 100644 --- a/accountant/views/users.py +++ b/accountant/views/users.py @@ -20,7 +20,7 @@ import arrow from functools import wraps from flask import request, g -from flask.ext.restplus import Resource, marshal_with_field +from flask_restplus import Resource, marshal_with_field from accountant import app