#16147: {% include %} tag raises TemplateDoesNotExist at compile time of parent
template if TEMPLATE_DEBUG is True
-------------------------------------+-------------------------------------
     Reporter:  mrmachine            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Template system      |                  Version:
     Severity:  Normal               |  1.4-alpha-1
     Keywords:  include template     |               Resolution:
  TemplateDoesNotExist               |             Triage Stage:  Design
  TEMPLATE_DEBUG                     |  decision needed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by prestontimmons):

 * needs_better_patch:  1 => 0
 * version:  1.3 => 1.4-alpha-1
 * needs_tests:  1 => 0
 * ui_ux:   => 0


Comment:

 I added an updated patch with tests.

 It's a comprehensive patch that replaces BaseIncludeNode,
 ConstantIncludeNode, and IncludeNode with a single implementation.

 I also rewrote the tests in a form I find readable, but kept the existing
 tests in place so a reviewer can verify backwards compatibility. Besides
 that, the old tests are redundant.

 In addition to this ticket, this patch addresses #12064 and #3544.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16147#comment:4>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to