You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/my-project/.venv/lib/python3.12/site-packages/debug_toolbar/panels/templates/__init__.py", line 1, in <module>
from debug_toolbar.panels.templates.panel import TemplatesPanel
File "/my-project/.venv/lib/python3.12/site-packages/debug_toolbar/panels/templates/panel.py", line 17, in <module>
from debug_toolbar.panels.templates.jinja2 import patch_jinja_render
File "/my-project/.venv/lib/python3.12/site-packages/debug_toolbar/panels/templates/jinja2.py", line 3, in <module>
from django.template.backends.jinja2 import Template as JinjaTemplate
File "/my-project/.venv/lib/python3.12/site-packages/django/template/backends/jinja2.py", line 3, in <module>
import jinja2
ModuleNotFoundError: No module named 'jinja2'
It looks like jinja2 is required for the TemplatesPanel - in my project this is not a dependency. Either jinja2 is included as a dependency, or we check it is present, or the requirement is documented.
The text was updated successfully, but these errors were encountered:
danjac
changed the title
Jinja2 dependency break default install
Jinja2 dependency breaks default install
Jul 5, 2024
Version:
4.4.4
Django version:
5.0.6
Default toolbar settings
On startup Django crashes:
It looks like
jinja2
is required for theTemplatesPanel
- in my project this is not a dependency. Either jinja2 is included as a dependency, or we check it is present, or the requirement is documented.The text was updated successfully, but these errors were encountered: