Enhance app configuration and prettify HTML responses; update requirements and fix button identifiers in settings template

This commit is contained in:
Yaro Kasear 2025-07-07 12:02:06 -05:00
parent 7c15754cab
commit 4c36621eba
4 changed files with 28 additions and 8 deletions

View file

@ -17,6 +17,8 @@ def create_app():
app = Flask(__name__)
app.secret_key = os.getenv('SECRET_KEY', 'dev-secret-key-unsafe') # You know what to do for prod
app.config.from_object(Config)
app.jinja_env.trim_blocks = True
app.jinja_env.lstrip_blocks = True
db.init_app(app)