Opened 9 years ago

Closed 8 years ago

#2298 closed defect (duplicate)

Custom template tag files with errors aren't reported as such.

Reported by: Tyson Tate <tyson@…> Owned by: nobody
Component: Template system Version:
Severity: normal Keywords:
Cc: tyson@… Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


If a custom template tag file (i.e. "project/apps/app/templatetags/") has errors, they aren't reported anywhere. The module is simply not loaded and then we get a TemplateSyntaxError when we try to do:

{% load %}

It would be nice if we could somehow get the error that occurred in the template tag file instead of a TemplateSyntaxError.

Change History (3)

comment:1 Changed 9 years ago by Gary Wilson <gary.wilson@…>

  • Triage Stage changed from Unreviewed to Accepted

Well, all template filters and tags should fail silently.

comment:2 Changed 8 years ago by ubernostrum

Closing in favor of #3349, which is apparently being actively worked on.

comment:3 Changed 8 years ago by ubernostrum

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
Back to Top