title: Django models.Model superclass
body: <p>I would like to create a models.Model class that doesn't became part of the database but just an interface to other models (I want to avoid repeating code).</p>
  
  <p>Something like that:</p>
  
  <pre><code>class Interface(models.Model):
      a = models.IntegerField()
      b = models.TextField()
  
  class Foo(Interface):
      c = models.IntegerField()
  
  class Bar(Interface):
      d = models.CharField(max_length='255')
  </code></pre>
  
  <p>So my database should have only Foo (with a,b,c collumns) and Bar (with a,b,d) but not the table Interface.</p>