add todolist

master
km0 3 years ago
parent e6e486f6d6
commit 4419f8d5a1

@ -0,0 +1,6 @@
TODO: add name for credits?
TODO: display name in svg?
TODO: remove new from homepage?
or
TODO: add per-new level in the xquisite branches (this makes more sense!)

@ -1,6 +1,7 @@
import os import os
from flask import Flask from flask import Flask
class PrefixMiddleware(object): class PrefixMiddleware(object):
def __init__(self, app, prefix=''): def __init__(self, app, prefix=''):
@ -26,7 +27,6 @@ def create_app(test_config=None):
DATABASE=os.path.join(app.instance_path, 'exquisite'), DATABASE=os.path.join(app.instance_path, 'exquisite'),
) )
if test_config is None: if test_config is None:
# load the instance config, if it exists, when not testing # load the instance config, if it exists, when not testing
app.config.from_pyfile('config.py', silent=True) app.config.from_pyfile('config.py', silent=True)
@ -55,7 +55,6 @@ def create_app(test_config=None):
from . import home from . import home
app.register_blueprint(home.bp) app.register_blueprint(home.bp)
app.wsgi_app = PrefixMiddleware(app.wsgi_app, prefix='/soupboat/xquisite') app.wsgi_app = PrefixMiddleware(app.wsgi_app, prefix='/soupboat/xquisite')
return app return app

Loading…
Cancel
Save