Also, here's the actual code that is used by the mixin to assemble the 
response:

https://gist.github.com/70beb521546d59deb207

Compare this to what is going on in  `ExtendsNode.render`:

https://code.djangoproject.com/browser/django/trunk/django/template/loader_tags.py#L103

The code in the gist does handle `{{ block.super }}` but it comes with the 
cost of duplicating a big part of the render method. Having the context 
assembly moved out of the render method in the `ExtendsNode` would already 
be a big step :)

Alen

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/vUL82_HQ6QIJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to