#12064: Impossible to conditionally include potentially non-existant templates
--------------------------------------+-------------------------------------
          Reporter:  mkruisselbrink   |         Owner:  lukeplant
            Status:  assigned         |     Milestone:           
         Component:  Template system  |       Version:  1.1      
        Resolution:                   |      Keywords:           
             Stage:  Unreviewed       |     Has_patch:  1        
        Needs_docs:  0                |   Needs_tests:  1        
Needs_better_patch:  0                |  
--------------------------------------+-------------------------------------
Changes (by lukeplant):

  * owner:  nobody => lukeplant
  * status:  new => assigned
  * needs_tests:  0 => 1

Comment:

 It should be quite easy to produce a test for this bug  - no exception
 should be raised for a template like this:
 {{{
    {% if some_var_that_equals_False %}
       {% include "some_template_that_does_not_exist.html" %}
    {% endif %}
 }}}

 That test is needed before the patch can go in.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12064#comment:3>
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 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