Remove usage of the deprecated flask.ext package

This commit is contained in:
Arik Fraimovich 2016-12-07 12:42:46 +02:00
parent 51117e8e5b
commit 73121890b3
3 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,5 @@
from flask import make_response, request
from flask.ext.restful import abort
from flask_restful import abort
from redash import models
from redash.permissions import require_admin

View File

@ -4,11 +4,9 @@ import hashlib
import itertools
import json
import logging
import time
from funcy import project
from flask_sqlalchemy import SQLAlchemy
from flask.ext.sqlalchemy import SignallingSession
from flask_login import UserMixin, AnonymousUserMixin
from sqlalchemy.dialects import postgresql
from sqlalchemy.event import listens_for

View File

@ -1,6 +1,6 @@
import requests
from celery.utils.log import get_task_logger
from flask.ext.mail import Message
from flask_mail import Message
from redash.worker import celery
from redash.version_check import run_version_check
from redash import models, mail, settings