> Hmm... I suppose the closest alternative we have would be to store the > base template name in a variable and pass it in from the view. >
If code for support template inheritance lives in views, it's not convenient. Here is code, that implement this feature for Django 1.4/1.9: https://github.com/vb64/django.templates.relative.path But this extension disable the useful rule 'extends must be first tag in template', and that make me unhappy. :) If Django core team approve my proposal, i can make pool request. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/eddbb199-468a-468c-9146-92a17e791e09%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.