Opened 17 years ago

Closed 16 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: no UI/UX: no


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 16 years ago by Gary Wilson <gary.wilson@…>

Triage Stage: UnreviewedAccepted

Well, all template filters and tags should fail silently.

comment:2 Changed 16 years ago by James Bennett

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

comment:3 Changed 16 years ago by James Bennett

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top