mirror of
https://github.com/valitydev/redash.git
synced 2024-11-09 02:06:49 +00:00
Remove usage of the deprecated flask.ext package
This commit is contained in:
parent
51117e8e5b
commit
73121890b3
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user