mirror of
https://github.com/django/django.git
synced 2025-11-08 23:31:55 +00:00
Fixed #23281 -- Added "concrete model" to glossary.
Thanks knowledgepoint-devs for the suggestion.
This commit is contained in:
parent
4680d25df2
commit
60c38c1a4e
2 changed files with 7 additions and 3 deletions
|
|
@ -6,6 +6,10 @@ Glossary
|
||||||
|
|
||||||
.. glossary::
|
.. glossary::
|
||||||
|
|
||||||
|
concrete model
|
||||||
|
A non-abstract (:attr:`abstract=False
|
||||||
|
<django.db.models.Options.abstract>`) model.
|
||||||
|
|
||||||
field
|
field
|
||||||
An attribute on a :term:`model`; a given field usually maps directly to
|
An attribute on a :term:`model`; a given field usually maps directly to
|
||||||
a single database column.
|
a single database column.
|
||||||
|
|
|
||||||
|
|
@ -1522,7 +1522,7 @@ accepted by :class:`ForeignKey`, plus one extra argument:
|
||||||
.. attribute:: OneToOneField.parent_link
|
.. attribute:: OneToOneField.parent_link
|
||||||
|
|
||||||
When ``True`` and used in a model which inherits from another
|
When ``True`` and used in a model which inherits from another
|
||||||
(concrete) model, indicates that this field should be used as the
|
:term:`concrete model`, indicates that this field should be used as the
|
||||||
link back to the parent class, rather than the extra
|
link back to the parent class, rather than the extra
|
||||||
``OneToOneField`` which would normally be implicitly created by
|
``OneToOneField`` which would normally be implicitly created by
|
||||||
subclassing.
|
subclassing.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue