Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Flask-Admin. Fix #3438. #3532

Merged
merged 1 commit into from
Mar 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions redash/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ def to_url(self, value):
return value


def create_app(load_admin=True):
from redash import admin, authentication, extensions, handlers
def create_app():
from redash import authentication, extensions, handlers
from redash.handlers.webpack import configure_webpack
from redash.handlers import chrome_logger
from redash.models import db, users
Expand Down Expand Up @@ -126,8 +126,6 @@ def create_app(load_admin=True):
provision_app(app)
db.init_app(app)
migrate.init_app(app, db)
if load_admin:
admin.init_admin(app)
mail.init_app(app)
authentication.init_app(app)
limiter.init_app(app)
Expand Down
78 changes: 0 additions & 78 deletions redash/admin.py

This file was deleted.

2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ click==6.6
MarkupSafe==0.23
pyOpenSSL==16.2.0
httplib2==0.10.3
Flask-Admin==1.5.2
wtforms==2.2.1
Flask-RESTful==0.3.5
Flask-Login==0.4.0
Flask-OAuthLib==0.9.5
Expand Down