Skip to content

Commit

Permalink
Remove Flask-Admin. (#3532)
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez authored and arikfr committed Mar 6, 2019
1 parent b68051d commit 4e7d16b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 83 deletions.
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

0 comments on commit 4e7d16b

Please sign in to comment.