This branch is mostly updates to the documentation, describing how template matching configuration works and how it can be tweaked. There's also single line of code change in base.py which should give a tiny tiny performance improvement for each request.
Changelog:
Complete config example in the docs now reflects actual project defaults (#286).
get_template no longer calls template_name.endswith twice under the default setup.
Rewrite usage and template matching config sections in the docs, to fully explain behavior.
This branch is mostly updates to the documentation, describing how template matching configuration works and how it can be tweaked. There's also single line of code change in
base.py
which should give a tiny tiny performance improvement for each request.Changelog:
get_template
no longer callstemplate_name.endswith
twice under the default setup.The newly rendered docs are previewable at https://wizpig64.github.io/django-jinja/latest/