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
from flask import Flask
class PrefixMiddleware(object):
def __init__(self, app, prefix=''):
@ -25,7 +26,6 @@ def create_app(test_config=None):
SECRET_KEY='dev',
DATABASE=os.path.join(app.instance_path, 'exquisite'),
)
if test_config is None:
# load the instance config, if it exists, when not testing
@ -33,7 +33,7 @@ def create_app(test_config=None):
else:
# load the test config if passed in
app.config.from_mapping(test_config)
# ensure the instance folder exists
try:
os.makedirs(app.instance_path)
@ -55,7 +55,6 @@ def create_app(test_config=None):
from . import home
app.register_blueprint(home.bp)
app.wsgi_app = PrefixMiddleware(app.wsgi_app, prefix='/soupboat/xquisite')
return app

Loading…
Cancel
Save