-
Notifications
You must be signed in to change notification settings - Fork 50
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
Jinja support #247
Jinja support #247
Conversation
…rary into jinja * 'main' of https://github.com/torchbox/django-pattern-library: Add Python 3.12 to the test matrix, drop Django 4.1 (torchbox#242) Updates for version 1.2.0 Improve handling of non-string values for 'override_tag's 'default_html' argument (torchbox#224) fix: make it work for django5.0 (updated) (torchbox#241) Upgrade GitHub Actions versions (torchbox#237) Fix typos discovered by codespell (torchbox#238)
Upgrade Jinja support to work with Django 5
@thibaudcolas / @zerolab Gentle ping to see this. I've updated this branch to the latest. |
@CuriousLearner I’m in the process of testing this – it feels very close! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can see this largely works as expected, however it’s missing documentation, tests, and support for tags overrides. I think this can get merged as-is (or close), but I will have to mention Jinja support as "experimental" until we have better tests for it.
@@ -46,7 +46,7 @@ exclude = [ | |||
python = "^3.8" | |||
Django = ">=3.2,<5.1" | |||
PyYAML = ">=5.1,<7.0" | |||
Markdown = "^3.1" | |||
Markdown = "^3.5.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn’t seem related?
Shipped in #254! |
Description
Adds Jinja support to the django-pattern-library. It is based on @gone's work and will superseed #206.
Fixes #171 -> Discussion #180
Checklist