Add initial Flask implementation

This commit is contained in:
Jan Dittberner 2015-11-10 22:31:14 +01:00
parent 7c60ac59a6
commit f63939cb03
8 changed files with 312 additions and 1 deletions

View file

@ -3,7 +3,7 @@
#
# Debian Member Portfolio Service package
#
# Copyright © 2009-2014 Jan Dittberner <jan@dittberner.info>
# Copyright © 2009-2015 Jan Dittberner <jan@dittberner.info>
#
# This file is part of the Debian Member Portfolio Service.
#
@ -20,3 +20,12 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
from flask import Flask
from flask.ext.babel import Babel
app = Flask(__name__)
babel = Babel(app)
app.config.from_object('config')
from debianmemberportfolio import views