#28927: include tag fails silently if included template's static tag fails
-------------------------------+--------------------------------------
     Reporter:  sodds          |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  closed
    Component:  Uncategorized  |                  Version:  1.11
     Severity:  Normal         |               Resolution:  duplicate
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by Simon Charette):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 Since 1.11 Django already raises a warning when an exception occurs during
 `{% include %}` and plan to elevate it to an exception in 2.1 so I'm going
 to close this as duplicate of #27175 which introduced this change.

 In the mean time you can either make sure you enable Python warnings and
 assert none is raised during your test suite execution or force this
 particular instance of `RemovedInDjango21Warning` to be converted to an
 exception using `warnings.simplefilter('error', RemovedInDjango21Warning,
 message='^Rendering \{% include ')`

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28927#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/063.4236f363059eb817a0aa2cc9b41621d2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to