Error Traceback in Jinja2 when Extending Template
Although iframes are more accustomed to importing webpages from different websites, this might be a good idea. You could also use the jinja tag {% include %} and then use sessions to cache the data instead of reloading them in every page.
I’m using template inheritance in jinja2 because I have a top bar in my website that I need to include in all pages. The problem is that whenever there is an error in any page the traceback always points to the line with the {% extends %} tag and I cannot locate the source of the error.
Is there a way to find out which line is causing the error (aside from reading the whole code myself) or another way to do template inheritance than {% extends %}?