#28825: Templated email with {% extends parent_name %} doesn't re-resolve the 
base
template
---------------------------------+--------------------------------------
     Reporter:  Andrew           |                    Owner:  nobody
         Type:  Uncategorized    |                   Status:  new
    Component:  Template system  |                  Version:  1.11
     Severity:  Normal           |               Resolution:
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------

Comment (by Tim Graham):

 Please include more explicit steps to reproduce (that don't rely on a
 third-party library, to rule out an issue there). Based on your report, I
 tried the following change in Django's test suite but don't see a failure.

 {{{
 #!diff
 diff --git a/tests/template_tests/syntax_tests/test_extends.py
 b/tests/template_tests/syntax_tests/test_extends.py
 index 5b0b8d1..b52a9d1 100644
 --- a/tests/template_tests/syntax_tests/test_extends.py
 +++ b/tests/template_tests/syntax_tests/test_extends.py
 @@ -108,6 +108,8 @@ class InheritanceTests(SimpleTestCase):
          """
          output = self.engine.render_to_string('inheritance06', {'foo':
 'inheritance02'})
          self.assertEqual(output, '1234')
 +        output = self.engine.render_to_string('inheritance06', {'foo':
 'inheritance01'})
 +        self.assertEqual(output, '1&3_')

      @setup(inheritance_templates)
      def test_inheritance07(self):
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28825#comment:2>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.fd5b5544bd79c5ec811c61bfa037c2a8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to