#7324: {{ block.super }} doesn't work with nested {% block %} statements --------------------------------------+------------------------------------- Reporter: jeverling | Owner: nobody Status: reopened | Milestone: Component: Template system | Version: SVN Resolution: | Keywords: block.super template Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | --------------------------------------+------------------------------------- Changes (by bradleyw):
* status: closed => reopened * resolution: invalid => Comment: I also have this problem. Linked is an OS X archive of a project which illustrates the problem with the latest version (r9803) of Django. Basically, in {{{ templates/test.html }}}, I expect the block {{{ {% block submain %}{{ block.super }}{% endblock %} }}} to contain "This should be inherited". It returns nothing. This is required for more complex template examples where multi-template inheritance/modification of content is required. Entire linked project is here: https://dl.getdropbox.com/u/19680/bug7324.zip (I couldn't figure out how to attach the ZIP file to the bug). -- Ticket URL: <http://code.djangoproject.com/ticket/7324#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 -~----------~----~----~----~------~----~------~--~---