Open marc-portier opened 2 years ago
investigate creating a try-except like approach to blocks that should be rendered or hidden as a whole depending on all succeeding
without it we need to surround template sections with exhaustive pro-active testing for possible errors through {% if %} ... {% endif %}
{% if %} ... {% endif %}
see interesting answer at https://stackoverflow.com/questions/21692387/jinja2-exception-handling#answer-58434921 providing some trick to handle block-like exception handling in jinja2
investigate creating a try-except like approach to blocks that should be rendered or hidden as a whole depending on all succeeding
without it we need to surround template sections with exhaustive pro-active testing for possible errors through
{% if %} ... {% endif %}
see interesting answer at https://stackoverflow.com/questions/21692387/jinja2-exception-handling#answer-58434921 providing some trick to handle block-like exception handling in jinja2