Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Jinja2 templates #53

Closed
rvadaga opened this issue Nov 21, 2017 · 2 comments
Closed

Support for Jinja2 templates #53

rvadaga opened this issue Nov 21, 2017 · 2 comments

Comments

@rvadaga
Copy link

rvadaga commented Nov 21, 2017

I'm using django v1.11.7 with Jinja2 v2.10 as the template engine. I want to use django-widget-tweaks to integrate bootstrap, so I can style form elements in my website.

This package won't work with Jinja templates, since it needs to load a custom tag set into the Jinja environment. Loading tag sets can be complex, since I may need to write an extension. I don't want to switch from Jinja2 since it offers more flexibility compared to django templates.

Is there some way to get django-widget-tweaks to work with Jinja?

@thclark
Copy link

thclark commented Dec 21, 2017

+1 on this. I'm thinking of having a go; will update if I manage to make progress.

@camilonova
Copy link
Member

PRs are welcome any time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants