Files
blog.pyaqa.ru/app
Sergey Vanyushkin de92f73f58
All checks were successful
ci/woodpecker/pr/pipeline Pipeline was successful
fix(i18n): register _() Jinja2 global and current_locale in error handlers
Error handlers had a separate Jinja2Templates instance without the _
global function, causing UndefinedError when rendering base.html
(which now calls {{ _(key, current_locale) }}).

- Register _() from translator module as Jinja2 global on error_handlers templates
- Add current_locale to get_template_context() from request.state.locale
2026-05-10 16:48:56 +03:00
..