Remove unnecessary Jinja2 block trimming settings from app configuration
This commit is contained in:
parent
1d42433258
commit
099a9a0aaa
1 changed files with 0 additions and 2 deletions
|
@ -17,8 +17,6 @@ def create_app():
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.secret_key = os.getenv('SECRET_KEY', 'dev-secret-key-unsafe') # You know what to do for prod
|
app.secret_key = os.getenv('SECRET_KEY', 'dev-secret-key-unsafe') # You know what to do for prod
|
||||||
app.config.from_object(Config)
|
app.config.from_object(Config)
|
||||||
app.jinja_env.trim_blocks = True
|
|
||||||
app.jinja_env.lstrip_blocks = True
|
|
||||||
|
|
||||||
db.init_app(app)
|
db.init_app(app)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue