title: Django inheritance: how to have one method for all subclasses?
body: <p>I have a model   </p>
  
  <pre><code>BaseModel
  </code></pre>
  
  <p>and several subclasses of it </p>
  
  <pre><code>ChildModelA(BaseModel), ChildModelB(BaseModel), ...
  </code></pre>
  
  <p>using multi-table inheritance. In future I plan to have dozens of subclass models.</p>
  
  <p>All subclasses have some implementation of method </p>
  
  <pre><code>do_something()
  </code></pre>
  
  <p>How can I call do_somthing from a BaseModel instance?</p>
  
  <p>Almost identical problem (without solution) is posted here:<br>
  <a href="http://peterbraden.co.uk/article/django-inheritance" rel="noreferrer">http://peterbraden.co.uk/article/django-inheritance</a></p>
  
  <p>A simpler question: how I resolve BaseModel instnace to one of its subclasses instance without checking all possible subclasses?</p>