Skip to content

jinja2.exceptions.TemplateNotFound: bootstrap/nav.html #187

@tangdu

Description

@tangdu

Centos6.8

File "/usr/local/lib64/python3.6/site-packages/flask/templating.py", line 117, in _render
rv = template.render(context)
File "/usr/local/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "/root/kunpeng/templates/config.html", line 1, in top-level template code
{% extends 'base.html' %} {% block content %}
File "/root/kunpeng/templates/base.html", line 1, in top-level template code
{% from 'bootstrap/nav.html' import render_nav_item %}
File "/usr/local/lib64/python3.6/site-packages/flask/templating.py", line 58, in get_source
return self._get_source_fast(environment, template)
File "/usr/local/lib64/python3.6/site-packages/flask/templating.py", line 86, in _get_source_fast
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: bootstrap/nav.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions