#12787: TemplateDoesNotExist exception does not report the correct template_name
-------------------------------------------+--------------------------------
               Reporter:  trigeek38        |         Owner:  anonymous          
 
                 Status:  closed           |     Milestone:  1.2                
 
              Component:  Template system  |       Version:  SVN                
 
             Resolution:  fixed            |      Keywords:  
TemplateDoesNotExist
           Triage Stage:  Unreviewed       |     Has patch:  1                  
 
    Needs documentation:  0                |   Needs tests:  1                  
 
Patch needs improvement:  1                |  
-------------------------------------------+--------------------------------

Comment (by liorsion):

 The issue that was fixed here + the tests are for the wrong thing: an
 extended template that is missing an include, and not a normal template
 that is missing an include - the tests are also testing a different
 scenario.

 The tested template has:

 {{{

 {% extends "broken_base.html" %}
 }}}

 while it should have:

 {{{

 {% include "just/something.html" %}

 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12787#comment:12>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to