  
  
  class DirectoryEntry(SimpleModel):
      listing_text = models.CharField(max_length=50)
      location = models.ForeignKey(AugmentedLocation)
  
  
  @python_2_unicode_compatible
  class Parcel(SimpleModel):
      name = models.CharField(max_length=30)
 
</s> remove     location = models.ForeignKey(Location)
 </s> add     location = models.ForeignKey(Location, models.CASCADE) </s> remove     city = models.ForeignKey(City)
 </s> add     city = models.ForeignKey(City, models.CASCADE) </s> remove     group = models.ForeignKey(Group)
 </s> add     group = models.ForeignKey(Group, models.CASCADE) </s> remove     owner = models.ForeignKey(User)
 </s> add     owner = models.ForeignKey(User, models.CASCADE) </s> remove     content_type = models.ForeignKey(ContentType, related_name='backend_tags')
 </s> add     content_type = models.ForeignKey(ContentType, models.CASCADE, related_name='backend_tags')
    location = models.ForeignKey(AugmentedLocation, models.CASCADE)
  
  
  class DirectoryEntry(SimpleModel):
      listing_text = models.CharField(max_length=50)
    location = models.ForeignKey(AugmentedLocation, models.CASCADE)
  
  
  @python_2_unicode_compatible
  class Parcel(SimpleModel):
      name = models.CharField(max_length=30)
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/gis_tests/relatedapp/models.py