      line = models.LineStringField()
  
  
  class MultiFields(NamedModel):
      city = models.ForeignKey(City)
      point = models.PointField()
      poly = models.PolygonField()
  
      class Meta:
          unique_together = ('city', 'point')
 
</s> remove     city = models.ForeignKey(City)
 </s> add     city = models.ForeignKey(City, models.CASCADE) </s> remove     city = models.ForeignKey(City)
 </s> add     city = models.ForeignKey(City, models.CASCADE) </s> remove     state = models.ForeignKey(State)
 </s> add     state = models.ForeignKey(State, models.CASCADE) </s> remove             content_type = models.ForeignKey('self')  # should point to ContentType
 </s> add             content_type = models.ForeignKey('self', models.CASCADE)  # should point to ContentType </s> remove     not_installed = models.ForeignKey(NotInstalledModel)
 </s> add     not_installed = models.ForeignKey(NotInstalledModel, models.CASCADE)
    city = models.ForeignKey(City, models.CASCADE)
      line = models.LineStringField()
  
  
  class MultiFields(NamedModel):
    city = models.ForeignKey(City, models.CASCADE)
      point = models.PointField()
      poly = models.PolygonField()
  
      class Meta:
          unique_together = ('city', 'point')
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/gis_tests/geoapp/models.py