Add initial Flask implementation
This commit is contained in:
parent
7c60ac59a6
commit
f63939cb03
8 changed files with 312 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue