Removed unneeded LoginManager.

This commit is contained in:
Alexis Lahouze 2015-12-09 22:55:28 +01:00
parent cfec9b035f
commit c85cfea154

View File

@ -18,16 +18,12 @@ from flask import Flask, redirect, url_for
from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.bower import Bower from flask.ext.bower import Bower
from flask.ext.assets import Environment from flask.ext.assets import Environment
from flask.ext.login import LoginManager
# The app # The app
app = Flask(__name__, static_folder=None) app = Flask(__name__, static_folder=None)
app.config.from_pyfile('config.cfg') app.config.from_pyfile('config.cfg')
# Configure login_manager
login_manager = LoginManager(app=app)
app.config['SQLALCHEMY_ECHO'] = app.debug app.config['SQLALCHEMY_ECHO'] = app.debug
db = SQLAlchemy(app) db = SQLAlchemy(app)