[1.11.x] Fixed #29192 -- Removed inaccurate statement regarding overriding fields from abstract base classes.

Partial backport of 22bcd3a1d88add6e4cf2c4451ede8d1ae142dedd from master
This commit is contained in:
ovalseven8 2018-03-06 17:18:49 +01:00 committed by Tim Graham
parent c8e5c1f420
commit fbae9c0e02

View File

@ -899,9 +899,7 @@ information into a number of other models. You write your base class
and put ``abstract=True`` in the :ref:`Meta <meta-options>`
class. This model will then not be used to create any database
table. Instead, when it is used as a base class for other models, its
fields will be added to those of the child class. It is an error to
have fields in the abstract base class with the same name as those in
the child (and Django will raise an exception).
fields will be added to those of the child class.
An example::