Can you refer to more than one base template in django?

Viewed 833

I have a Django app with one base template called "base.html". This template provides for the look and feel of all pages in the website. On many - though not all - of these pages, I want to pull data from my database and display it in a consistent format. I'd like to create the template for that format in a different base called, say, "base2.html". This would mean that on pages where I present data, I will need to extend both "base.html" and "base2.html". How do I extend from two html pages on the same page?

1 Answers
Related