Changes between Initial Version and Version 1 of Ticket #36998, comment 3
- Timestamp:
- Mar 23, 2026, 1:29:13 PM (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36998, comment 3
initial v1 1 1 Hi Lily, thanks for catching and reporting this! 2 2 3 I can confirm this bug is still present on the 'main' branch. I was able to isolate and reproduce the silent failure using a minimal, standalone Django script, confirming that this is a core parser issue and independent of 'django-rusty-templates'. As reported, evaluating 'Template('{% firstof as foo %}')' returns an empty node instead of raising the expected 'TemplateSyntaxError'.3 I can confirm this bug is still present on the `main` branch. I was able to isolate and reproduce the silent failure using a minimal, standalone Django script, confirming that this is a core parser issue and independent of `django-rusty-templates`. As reported, evaluating `Template('{% firstof as foo %}')` returns an empty node instead of raising the expected `TemplateSyntaxError`. 4 4 5 5 I am upgrading the Triage Stage to 'Accepted' and I would be very happy to write the patch and submit a PR for the fix!