mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 22:50:26 +00:00
11 lines
275 B
Python
11 lines
275 B
Python
from flask import Flask
|
|
from flask.ext.login import LoginManager
|
|
from flask.ext.sqlalchemy import SQLAlchemy
|
|
|
|
app = Flask(__name__)
|
|
app.config.from_object('config')
|
|
login_manager = LoginManager()
|
|
login_manager.init_app(app)
|
|
db = SQLAlchemy(app)
|
|
|
|
from app import views, models |