"super" or "base" Template in Django
If I overri开发者_C百科de a parent block, how do I include the parent inside of the overridden copy?
From the docs:
If you need to get the content of the block from the parent template, the
{{ block.super }}
variable will do the trick.
精彩评论