niwinz / django-jinja

Simple and nonobstructive jinja2 integration with Django.
http://niwinz.github.io/django-jinja/latest/
BSD 3-Clause "New" or "Revised" License
360 stars 102 forks source link

add recommendation for setting NAME setting in the docs #301

Closed m000 closed 11 months ago

m000 commented 11 months ago

Without explicitly setting the NAME, the template engine will be called backend, which is counter-intuitive.

wizpig64 commented 11 months ago

Thanks for catching this and nailing it down in the docs!

I'm planning on getting a release out later this month with the regular metadata bumps; expect this change to be included.

Fixing the default NAME by changing the import path might be worth doing if we get around to introducing any necessary breaking changes.

m000 commented 11 months ago

Thanks for the fast merge. Hope it will save people some time.

Perhaps an interim solution to have a more meaningful automatic name would be: