#7377: "extends" and "block" tags are not available when constructing template
from scratch
---------------------------------------------+------------------------------
          Reporter:  [EMAIL PROTECTED]       |         Owner:  nobody
            Status:  reopened                |     Milestone:        
         Component:  Template system         |       Version:  SVN   
        Resolution:                          |      Keywords:        
             Stage:  Design decision needed  |     Has_patch:  1     
        Needs_docs:  0                       |   Needs_tests:  0     
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Comment (by Gulopine):

 For what it's worth, `{% extends %}` and `{% block %}` aren't entirely
 meaningless outside the context of standard template-loading. Since `{%
 extends %}` can take a fully-formed `Template` object as its argument,
 it's quite possible (or at least, could be) to construct an inherited
 structure while still bypassing template loaders. Admittedly, using a
 string in `{% extends %}` without a template loader isn't realistic (and
 using `{% block %}` without `{% extends %}` would be useless), but I just
 wanted to point out one supported situation that is indeed impossible with
 this setup.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7377#comment:10>
Django Code <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