Opened 4 years ago
Closed 4 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.
Note:
See TracTickets
for help on using tickets.
This looks like a duplicate of #28935.