diff options
Diffstat (limited to 'tests/gis_tests/layermap/models.py')
| -rw-r--r-- | tests/gis_tests/layermap/models.py | 2 |
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 |
