  site.register(Simple, AttributeErrorRaisingAdmin)
  site.register(UserMessenger, MessageTestingAdmin)
  site.register(Choice, ChoiceList)
  site.register(EmptyModelHidden, EmptyModelHiddenAdmin)
  site.register(EmptyModelVisible, EmptyModelVisibleAdmin)
  site.register(EmptyModelMixin, EmptyModelMixinAdmin)
  
 
</s> remove class AdminViewOnSiteTest(TestCase):
 </s> add class AdminViewOnSiteTests(TestCase): </s> remove     Telegram, Pizza, Topping, FilteredManager, City, Restaurant, Worker)
 </s> add     Telegram, Pizza, Topping, FilteredManager, City, Restaurant, Worker,
    ParentWithDependentChildren) </s> remove     EmptyModelVisible, EmptyModelMixin, State, City, Restaurant, Worker)
 </s> add     EmptyModelVisible, EmptyModelMixin, State, City, Restaurant, Worker,
    ParentWithDependentChildren, DependentChild)
site.register(ParentWithDependentChildren, ParentWithDependentChildrenAdmin)
  site.register(Simple, AttributeErrorRaisingAdmin)
  site.register(UserMessenger, MessageTestingAdmin)
  site.register(Choice, ChoiceList)
site.register(ParentWithDependentChildren, ParentWithDependentChildrenAdmin)
  site.register(EmptyModelHidden, EmptyModelHiddenAdmin)
  site.register(EmptyModelVisible, EmptyModelVisibleAdmin)
  site.register(EmptyModelMixin, EmptyModelMixinAdmin)
  
keep keep add 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. 
tests/admin_views/admin.py