In huge efforts to move from Django Templates to Jinja2 I got into some issues. Unfortunately (surprisingly) I couldn't find much information on this.
The main issue is the tags:
<a class="ui twitter button" href="{% provider_login_url "twitter" method="oauth2" next="/photos/new" %}">
Jinja2 won't recognize it:
django.template.exceptions.TemplateSyntaxError: ("Encountered unknown tag 'provider_login_url'.
There must be someone out there who has managed to make this work. Isn't there an easy way to make the template tag available for jinja2 to use? What's the generic way to make a 3rd party library to work with jinja2?