#15502: TemplateDoesNotExist reports incorrect template during {% include %} 
from
Class Based Views / TemplateResponse objects
-------------------------------------------+--------------------------------
               Reporter:  jaylett          |         Owner:  nobody  
                 Status:  new              |     Milestone:  1.3     
              Component:  Template system  |       Version:  1.3-beta
             Resolution:                   |      Keywords:          
           Triage Stage:  Accepted         |     Has patch:  0       
    Needs documentation:  0                |   Needs tests:  0       
Patch needs improvement:  0                |  
-------------------------------------------+--------------------------------
Changes (by russellm):

  * needs_better_patch:  => 0
  * needs_docs:  => 0
  * needs_tests:  => 0
  * stage:  Unreviewed => Accepted


Comment:

 Valid problem, but not class-based view specific. As you've identified,
 the issue is with select_template(), which consumes the
 TemplateDoesNotExist error generated by the non-existence of inner.html,
 interprets that consumption as non-existence of the overall template, and
 then raises a new TemplateDoesNotExist exception because the list of
 provided template name (i.e., [outer.html]) couldn't be loaded.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15502#comment:1>
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