      corresponding raw ID widget won't have a magnifying glass link to select
      related instances (rendering will be called programmatically in this case).
      """
      name = models.CharField(max_length=20)
      parent = models.ForeignKey('self', null=True, on_delete=models.SET_NULL)
      soulmate = models.ForeignKey('self', null=True, on_delete=models.CASCADE, related_name='soulmates')
  
  
  class Company(models.Model):
      name = models.CharField(max_length=20)
  
 
</s> remove     honeycomb = models.ForeignKey(Honeycomb)
 </s> add     honeycomb = models.ForeignKey(Honeycomb, models.CASCADE) </s> remove     parent = models.ForeignKey('self', null=True, blank=True, related_name='children')
 </s> add     parent = models.ForeignKey('self', models.SET_NULL, null=True, blank=True, related_name='children') </s> remove     owner = models.ForeignKey(User, null=True, blank=True, on_delete=models.SET_NULL)
 </s> add     owner = models.ForeignKey(User, models.SET_NULL, null=True, blank=True) </s> remove     parent = models.ForeignKey('self', null=True, blank=True)
 </s> add     parent = models.ForeignKey('self', models.SET_NULL, null=True, blank=True) </s> remove     car = models.ForeignKey(Car)
 </s> add     car = models.ForeignKey(Car, models.CASCADE)
    parent = models.ForeignKey('self', models.SET_NULL, null=True)
    soulmate = models.ForeignKey('self', models.CASCADE, null=True, related_name='soulmates')
      corresponding raw ID widget won't have a magnifying glass link to select
      related instances (rendering will be called programmatically in this case).
      """
      name = models.CharField(max_length=20)
    parent = models.ForeignKey('self', models.SET_NULL, null=True)
    soulmate = models.ForeignKey('self', models.CASCADE, null=True, related_name='soulmates')
    parent = models.ForeignKey('self', models.SET_NULL, null=True)
    soulmate = models.ForeignKey('self', models.CASCADE, null=True, related_name='soulmates')
  
  
  class Company(models.Model):
      name = models.CharField(max_length=20)
  
keep keep keep keep replace replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/admin_widgets/models.py