擅长:python、mysql、java
<p>目前在Django-MTI(模型表继承)和ABC(抽象基类)中有两种继承形式。</p>
<p>我写了一篇<a href="http://web.archive.org/web/20090227074910/http://thisweekindjango.com/articles/2008/jun/17/abstract-base-classes-vs-model-tab/" rel="nofollow noreferrer">tutorial</a>关于引擎盖下面发生的事。</p>
<p>您还可以参考<a href="http://docs.djangoproject.com/en/dev/topics/db/models/#model-inheritance" rel="nofollow noreferrer">model inheritance</a>上的官方文档。</p>