Enhance app configuration and prettify HTML responses; update requirements and fix button identifiers in settings template
This commit is contained in:
parent
7c15754cab
commit
4c36621eba
4 changed files with 28 additions and 8 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue