mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-16 02:46:44 +02:00
Remove deprecated flask.ext imports
This commit is contained in:
parent
9640d59aca
commit
b3d7b657ab
@ -1,7 +1,8 @@
|
||||
from flask import Blueprint
|
||||
from flask.ext import login as flask_login
|
||||
from freeposte import login_manager, db
|
||||
|
||||
import flask_login
|
||||
|
||||
|
||||
app = Blueprint(
|
||||
'admin', __name__,
|
||||
|
@ -1,8 +1,8 @@
|
||||
from flask_wtf import Form
|
||||
from wtforms import validators, fields, widgets
|
||||
from wtforms_components import fields as fields_
|
||||
from flask.ext import login as flask_login
|
||||
|
||||
import flask_login
|
||||
import re
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
from freeposte.admin import models
|
||||
from flask.ext import login as flask_login
|
||||
|
||||
import flask
|
||||
import flask_login
|
||||
|
||||
|
||||
def get_domain_admin(domain_name):
|
||||
|
@ -1,9 +1,9 @@
|
||||
from freeposte.admin import app, db, models, forms
|
||||
from flask.ext import login as flask_login
|
||||
|
||||
import os
|
||||
import pprint
|
||||
import flask
|
||||
import flask_login
|
||||
import json
|
||||
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
from freeposte.admin import app, db, models, forms, utils
|
||||
from flask.ext import login as flask_login
|
||||
|
||||
import os
|
||||
import flask
|
||||
import flask_login
|
||||
import wtforms_components
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
from freeposte import dockercli
|
||||
from freeposte.admin import app, db, models, forms, utils
|
||||
from flask.ext import login as flask_login
|
||||
|
||||
import os
|
||||
import flask
|
||||
import flask_login
|
||||
|
||||
|
||||
@app.route('/', methods=["GET"])
|
||||
|
@ -1,9 +1,9 @@
|
||||
from freeposte.admin import app, db, models, forms, utils
|
||||
from freeposte import app as flask_app
|
||||
from flask.ext import login as flask_login
|
||||
|
||||
import os
|
||||
import flask
|
||||
import flask_login
|
||||
import wtforms_components
|
||||
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
from freeposte.admin import app, db, models, forms, utils
|
||||
from flask.ext import login as flask_login
|
||||
|
||||
import os
|
||||
import flask
|
||||
import flask_login
|
||||
import wtforms_components
|
||||
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
from freeposte.admin import app, db, models, forms, utils
|
||||
from flask.ext import login as flask_login
|
||||
|
||||
import os
|
||||
import flask
|
||||
import flask_login
|
||||
import wtforms_components
|
||||
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
from freeposte.admin import app, db, models, forms, utils
|
||||
from flask.ext import login as flask_login
|
||||
|
||||
import os
|
||||
import flask
|
||||
import flask_login
|
||||
import wtforms_components
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user