Server - Flask + Python 2.6.2 + CentOS
Dashboard
@app.route('/admin/dashboard')
def admin_dashboard():
return render_template('admin/dashboard.html')
I tried to load dashboard.html with header.thml
dashboard.html
{% include 'header.html' %}
<div>
dashboard
</div>
After this I get this error.
jinja2.exceptions.TemplateNotFound
TemplateNotFound: header.html
I tried other methods, and it didn't work..
Can you see what is the problem?