-
Notifications
You must be signed in to change notification settings - Fork 1.1k
django-template-partials and the templates panel do not work well together it seems #2109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I wonder if this is related to how django-cotton and django-template-partials don't play nicely together and require some extra setup. https://django-cotton.com/docs/django-template-partials |
We have some code in here to handle cached loaders: django-debug-toolbar/debug_toolbar/panels/templates/views.py Lines 32 to 40 in 0d7b859
Template partials does more wrapping of loaders: I suspect it has something to do with loaders not being determined correctly or something, but I don't really know. I spent some time on it and didn't find a quick fix (I instead switched to a different project to test the template panel which doesn't use template partials.) |
I have now worked on this a bit because it has bitten me again tonight. The change works but lacks tests and docs. |
Loading template sources crashes:
(The strange debug toolbar paths are there because I use an editable install)
The text was updated successfully, but these errors were encountered: