django - how to reuse a template for nearly identical models?
Still fairly new to django and python. I've defined two nearly identical models that inherit from a base class: class addressbook(models.Model): name = models.CharField(max_length=50) class company(addressbook): address = models.CharField(max_length=50) class contact(addressbook): telephone - models.CharField(max_length=30) I want to do very similar things with company and contact objects. However in my templates it looks like I need to use separate templates for each object since to access the members in the object I have to use something like {{ blah.name }} {{ blah.address}} in one but {{