summaryrefslogtreecommitdiff
path: root/django/contrib/gis/tests/layermap/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/gis/tests/layermap/models.py')
-rw-r--r--django/contrib/gis/tests/layermap/models.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/django/contrib/gis/tests/layermap/models.py b/django/contrib/gis/tests/layermap/models.py
index 5e8b0879ed..1b66c6d94c 100644
--- a/django/contrib/gis/tests/layermap/models.py
+++ b/django/contrib/gis/tests/layermap/models.py
@@ -9,7 +9,7 @@ class State(models.Model):
class County(models.Model):
name = models.CharField(max_length=25)
state = models.ForeignKey(State)
- mpoly = models.MultiPolygonField(srid=4269) # Multipolygon in NAD83
+ mpoly = models.MultiPolygonField(srid=4269) # Multipolygon in NAD83
objects = models.GeoManager()
@@ -58,8 +58,8 @@ class Invalid(models.Model):
# Mapping dictionaries for the models above.
co_mapping = {'name': 'Name',
- 'state': {'name': 'State'}, # ForeignKey's use another mapping dictionary for the _related_ Model (State in this case).
- 'mpoly': 'MULTIPOLYGON', # Will convert POLYGON features into MULTIPOLYGONS.
+ 'state': {'name': 'State'}, # ForeignKey's use another mapping dictionary for the _related_ Model (State in this case).
+ 'mpoly': 'MULTIPOLYGON', # Will convert POLYGON features into MULTIPOLYGONS.
}
cofeat_mapping = {'name': 'Name',