diff options
| author | Mac Chapman <mac@veryhappythings.co.uk> | 2019-10-08 14:07:17 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-10-09 12:20:09 +0200 |
| commit | 0b7378db1fdd7bfc7b78089811b3abb722c4ba95 (patch) | |
| tree | c2adb6b0d9a2a2b5f13ac80dc704e33fc5b60cfd /docs | |
| parent | b0e92fb49d1c6f5c18e36f91c18d3ed981b47ae9 (diff) | |
Fixed #11097 -- Added note about parent link fields in formsets for multi-table inheritance models.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/forms/modelforms.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index 56ab59fda2..8f49dd989b 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -788,6 +788,12 @@ with the ``Author`` model. It works just like a regular formset:: means that a model formset is an extension of a basic formset that knows how to interact with a particular model. +.. note:: + + When using :ref:`multi-table inheritance <multi-table-inheritance>`, forms + generated by a formset factory will contain a parent link field (by default + ``<parent_model_name>_ptr``) instead of an ``id`` field. + Changing the queryset --------------------- |
