Remove deprecated flask.ext imports

master
Pierre Jaury 8 years ago
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…
Cancel
Save