summaryrefslogtreecommitdiff
path: root/tests/gis_tests/layermap/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gis_tests/layermap/models.py')
-rw-r--r--tests/gis_tests/layermap/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gis_tests/layermap/models.py b/tests/gis_tests/layermap/models.py
index 4ffcad0486..3457e0e2d5 100644
--- a/tests/gis_tests/layermap/models.py
+++ b/tests/gis_tests/layermap/models.py
@@ -22,7 +22,7 @@ class State(NamedModel):
class County(NamedModel):
- state = models.ForeignKey(State)
+ state = models.ForeignKey(State, models.CASCADE)
mpoly = models.MultiPolygonField(srid=4269) # Multipolygon in NAD83