Opened 3 years ago

Closed 3 years ago

#32707 closed Bug (duplicate)

Wrong reference to template

Reported by: Omid Shojaee Owned by: nobody
Component: Template system Version: 3.2
Severity: Normal Keywords: NoReverseMatch
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hello,

In my template, I have a reference to an app that doesn't exist yet, so Django shows me "NoReverseMatch" error, which is correct.

But,

My template extends base.html template, and in the details of the error Django shows a random line of base.html not the actual line in the index.html (where the actual reference to non-existent app is). This makes debugging of the error very hard.

Change History (1)

comment:1 by Tim Graham, 3 years ago

Resolution: duplicate
Status: newclosed

This looks like a duplicate of #28935.

Note: See TracTickets for help on using tickets.
Back to Top