Permalink
Browse files

Fixed #22601 -- Added a note about model inheritance.

Thanks semenov for the report.
  • Loading branch information...
mmardini authored and timgraham committed May 27, 2014
1 parent d0f7c7f commit 2ea1e70b85fee2ee1229c62b82ae283bea68cb73
Showing with 8 additions and 5 deletions.
  1. +8 −5 docs/topics/db/models.txt
View
@@ -839,11 +839,14 @@ Model inheritance
=================
Model inheritance in Django works almost identically to the way normal
-class inheritance works in Python. The only decision you have to make
-is whether you want the parent models to be models in their own right
-(with their own database tables), or if the parents are just holders
-of common information that will only be visible through the child
-models.
+class inheritance works in Python, but the basics at the beginning of the page
+should still be followed. That means the base class should subclass
+:class:`django.db.models.Model`.
+
+The only decision you have to make is whether you want the parent models to be
+models in their own right (with their own database tables), or if the parents
+are just holders of common information that will only be visible through the
+child models.
There are three styles of inheritance that are possible in Django.

0 comments on commit 2ea1e70

Please sign in to comment.