niwinz / django-jinja

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

Missing documentation: How to load template tags #212

Closed beruic closed 6 years ago

beruic commented 6 years ago

Now I am not using django-jinja (yet at least), but in order to take ane educated decision and/or convince others of using a project, it is nice with good documentation that makes it easier to relate to something before you use it. The purpose of this issue is to improve django-jinja on that part.

In Django you have to load template tags for each template with {% load foo bar from somelibrary %}. What I am having a hard time figuring out is whether django-jinja makes it possible to do this in a similar, easy way, or do we have to write Jinja2 extensions?

niwinz commented 6 years ago

WIth jinja you dont need to load them explicitly, they all are loaded in application bootstrap.

beruic commented 6 years ago

Where is the documentation for this? Is this the extensions option?

niwinz commented 6 years ago

This is how jinja works, nothing new is implemented.