      Issue #20522
      Model that depends on validation of the parent class for one of its
      fields to validate during clean
      """
      parent = models.ForeignKey(ParentWithDependentChildren)
      family_name = models.CharField(max_length=255)
  
  
  class _Manager(models.Manager):
      def get_queryset(self):
 
</s> remove         cat = models.ForeignKey(Category)
 </s> add         cat = models.ForeignKey(Category, models.CASCADE) </s> remove     parent = models.OneToOneField(Place)
 </s> add     parent = models.OneToOneField(Place, models.CASCADE) </s> remove     parent = models.ForeignKey(UUIDPKParent)
 </s> add     parent = models.ForeignKey(UUIDPKParent, models.CASCADE) </s> remove         company_that_makes_it = models.ForeignKey(Manufacturer)
 </s> add         company_that_makes_it = models.ForeignKey(
            Manufacturer,
            on_delete=models.CASCADE,
        ) </s> remove     reporter = models.ForeignKey(ProxyTrackerUser)
    associated_bug = models.ForeignKey(ProxyProxyBug)
 </s> add     reporter = models.ForeignKey(ProxyTrackerUser, models.CASCADE)
    associated_bug = models.ForeignKey(ProxyProxyBug, models.CASCADE)
    parent = models.ForeignKey(ParentWithDependentChildren, models.CASCADE)
      Issue #20522
      Model that depends on validation of the parent class for one of its
      fields to validate during clean
      """
    parent = models.ForeignKey(ParentWithDependentChildren, models.CASCADE)
      family_name = models.CharField(max_length=255)
  
  
  class _Manager(models.Manager):
      def get_queryset(self):
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/admin_views/models.py