Inside a template, is there a way to decide whether it has any parent template(s) or it is the root template?
I've got some templates including each other, but also want to be able to view them individually. But i still want the root template to extend my base template. I'm looking for something like this to put in top of all the templates: {% if is_root_template %} {% extends "base.html" %} {% endif %} -- Best regards, Mikkel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---