#32631: Django shows wrong file for NoReverseMatch error
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  (none)
  OmidShojaee                        |
                   Type:  Bug        |         Status:  new
              Component:  Error      |        Version:  3.2
  reporting                          |
               Severity:  Normal     |       Keywords:  NoReverseMatch
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Hello,

 In my template I have a reference to an app that doesn't exists yet.

 So, Django shows "NoReverseMatch" error — this is what I'm expecting to
 see.

 I'm also expecting to see my template name and line number, however,
 Django shows line 26 of "base.html" file instead of line 25 of
 "index.html" file — the latter is where the invalid reference is.

 This is happening with all templates that inherited "base.html".

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32631>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/054.b591774aa8e4a186bdc868ed5ebfc180%40djangoproject.com.

Reply via email to