#14046: Template tag errors masked if including based on context variable name
--------------------------------+-------------------------------------------
 Reporter:  defcube             |       Owner:  nobody    
   Status:  new                 |   Milestone:            
Component:  Template system     |     Version:  1.2       
 Keywords:  template exception  |       Stage:  Unreviewed
Has_patch:  0                   |  
--------------------------------+-------------------------------------------
 I have a template tag that raises a RuntimeError. Normally, this gets
 displayed properly to the user, but I have found a case where it doesn't.
 If I {% include includefilename %} where includefilename is a context
 variable pointing to a template, then template tag errors are masked.  If
 I do the very same include, but specify the template name directly without
 using the context variable, things work properly.

 I have attached a barebones demo of the problem. To see the demo,
 runserver and check the template files. You can uncomment my includes in
 index.html to see the problem.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14046>
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