#12212: inclusion_tag behavior on variable not in context is inconsistent
-----------------------------+----------------------------------------------
 Reporter:  Leo              |       Owner:  nobody    
   Status:  new              |   Milestone:            
Component:  Template system  |     Version:  SVN       
 Keywords:                   |       Stage:  Unreviewed
Has_patch:  0                |  
-----------------------------+----------------------------------------------
 If you use a variable that doesn't exist in the context as an argument to
 a template tag created with {[email protected]_tag()}}} the tag throws
 a VariableDoesNotExist which is inconsistent with the way that all other
 tags behave in the template language.

 I would expect that the wrapping {{{inclusion_tag()}}} code just passes
 {{{None}}} to the wrapped templatetag for the argument rather than blowing
 up.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12212>
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].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=.


Reply via email to