Closed glogiotatidis closed 8 years ago
Also, it seems to break django-debug-toolbar:
https://github.com/django-debug-toolbar/django-debug-toolbar/issues/790
@niwinz, what is the best way to fix it ? In django-jinja or in django-debug-toolbar ?
Thanks =)
About the first one, you should pass "NAME": "jinja2" if you want an other name. The django-jinja backend does the same thing that the jinja2 native backend of django.
And
I don't know that problem do you have with django debug toolbar and django-jinja. I'm using them both in few projects and everything works as expected (with exception to "templates" tab that shows nothing because django debug tool bar only works with django template engine.
I have used ddt 1.3, but it seems that 1.4 introduces some changes that breaks compatibility. This seems ddj toolbar issue because 1.3 works perfectly with django-jinja
I have fixed the compatibility with ddt 1.4 in #157
Now 2.1.0 is released and it should work properly with django-debug-toolbar.
The django-jinja backend does the same thing that the jinja2 native backend of django.
@niwinz no, it doesn't. The native backend django.template.backends.jinja2.Jinja2
is put into ENGINES['jinja2']
(as it takes the containing module name for the key).