Changes between Initial Version and Version 1 of Ticket #36998, comment 3


Ignore:
Timestamp:
Mar 23, 2026, 1:29:13 PM (4 weeks ago)
Author:
Aniket Gupta

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36998, comment 3

    initial v1  
    11Hi Lily, thanks for catching and reporting this!
    22
    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'.
     3I 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`.
    44
    55I am upgrading the Triage Stage to 'Accepted' and I would be very happy to write the patch and submit a PR for the fix!
Back to Top