summaryrefslogtreecommitdiff
path: root/tests/gis_tests/layermap
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gis_tests/layermap')
-rw-r--r--tests/gis_tests/layermap/models.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/gis_tests/layermap/models.py b/tests/gis_tests/layermap/models.py
index 545f2fa75d..f2c7882547 100644
--- a/tests/gis_tests/layermap/models.py
+++ b/tests/gis_tests/layermap/models.py
@@ -36,11 +36,17 @@ class City(NamedModel):
dt = models.DateField()
point = models.PointField()
+ class Meta:
+ app_label = 'layermap'
+
class Interstate(NamedModel):
length = models.DecimalField(max_digits=6, decimal_places=2)
path = models.LineStringField()
+ class Meta:
+ app_label = 'layermap'
+
# Same as `City` above, but for testing model inheritance.
class CityBase(NamedModel):