      through to :func:`~django.forms.models.inlineformset_factory` when
      creating the formset for this inline.
  
  .. attribute:: InlineModelAdmin.extra
  
      This controls the number of extra forms the formset will display in
      addition to the initial forms. See the
      :doc:`formsets documentation </topics/forms/formsets>` for more
 
</s> remove     Telegram, Pizza, Topping, FilteredManager, City, Restaurant, Worker)
 </s> add     Telegram, Pizza, Topping, FilteredManager, City, Restaurant, Worker,
    ParentWithDependentChildren) </s> remove class AdminViewOnSiteTest(TestCase):
 </s> add class AdminViewOnSiteTests(TestCase): </s> remove     EmptyModelVisible, EmptyModelMixin, State, City, Restaurant, Worker)
 </s> add     EmptyModelVisible, EmptyModelMixin, State, City, Restaurant, Worker,
    ParentWithDependentChildren, DependentChild)
.. warning::
    When writing custom validation for ``InlineModelAdmin`` forms, be cautious
    of writing validation that relies on features of the parent model. If the
    parent model fails to validate, it may be left in an inconsistent state as
    described in the warning in :ref:`validation-on-modelform`.

      through to :func:`~django.forms.models.inlineformset_factory` when
      creating the formset for this inline.
  
.. warning::
    When writing custom validation for ``InlineModelAdmin`` forms, be cautious
    of writing validation that relies on features of the parent model. If the
    parent model fails to validate, it may be left in an inconsistent state as
    described in the warning in :ref:`validation-on-modelform`.

  .. attribute:: InlineModelAdmin.extra
  
      This controls the number of extra forms the formset will display in
      addition to the initial forms. See the
      :doc:`formsets documentation </topics/forms/formsets>` for more
keep keep add keep keep keep keep keep
 Fixed #20522 - Allowed use of partially validated object in ModelAdmin.add_view formset validation.

Updated ModelAdmin to use form.instance when passing parent model to
child inlines for add_view. There is effectively no change in the
change_view since the previously passed 'obj' is the same as form.instance.

Thanks to meshy for report, and EvilDMP and timo for review. 
docs/ref/contrib/admin/index.txt