2013-04-29 11:05:09 +02:00
|
|
|
from flask import Flask
|
|
|
|
from flask_login import LoginManager
|
|
|
|
import os.path
|
|
|
|
|
|
|
|
app = Flask(__name__)
|
2018-11-30 01:28:24 +01:00
|
|
|
app.config.from_pyfile(
|
|
|
|
os.path.join(os.path.dirname(os.path.abspath(__file__)), "app.cfg"))
|
|
|
|
|
2013-04-29 11:05:09 +02:00
|
|
|
login_manager = LoginManager()
|
|
|
|
import login
|
|
|
|
login_manager.setup_app(app)
|
|
|
|
import endpoints
|