-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
!backend(refactor): move to default engine #10052
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
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
|
@inventree/triage I can not remember why we used Jinja2 instead of the normal templating engine - this removes our direct dependency on jinja2. This be breaking in some edge cases |
|
I have a vague recollection that it was due to how we provide context for simple string rendering (e.g. for batch codes, order reference strings, filenames for generated reports). It looks like that is where the PR is failing currently. If we can work around this and get those string rendering functions working, I'm happy to remove the dep and make this change |
|
I will have to take a deeper look, puhsing this back |
4125c8f to
ee4819d
Compare
|
One difficulty here is that the jinja syntax we use in |
Follow up to #10051 - moves file name rending to the default rendering engine instead of jinja2
This might be breaking in some cases