#37038: {% extends %}/{% block %} doesn't work as expected with {% partialdef 
%}/{%
partial %}
----------------------------------+--------------------------------------
     Reporter:  Christophe Henry  |                    Owner:  (none)
         Type:  Bug               |                   Status:  closed
    Component:  Template system   |                  Version:  6.0
     Severity:  Normal            |               Resolution:  wontfix
     Keywords:                    |             Triage Stage:  Unreviewed
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+--------------------------------------
Comment (by Carlton Gibson):

 Yes, partials are (by design) local to the template defining them, and not
 intended to work with extends or blocks.

 Happy to review a docs clarification for this, but (beyond emphasising
 that partials apply to the defining template) I wouldn’t want to labour
 the point. (In the whole lifetime of templates-partials this kind of point
 has come up rarely, and the explanation may muddy the water more than
 clear it.)
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37038#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 view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019d98121cc0-a140c5fe-f77d-4b63-9551-d5d6785fac64-000000%40eu-central-1.amazonses.com.

Reply via email to