diff --git a/django/contrib/gis/db/backends/postgis/models.py b/django/contrib/gis/db/backends/postgis/models.py index 3916ec4f7f..1baa6feff7 100644 --- a/django/contrib/gis/db/backends/postgis/models.py +++ b/django/contrib/gis/db/backends/postgis/models.py @@ -22,6 +22,7 @@ class PostGISGeometryColumns(models.Model): type = models.CharField(max_length=30) class Meta: + app_label = 'gis' db_table = 'geometry_columns' managed = False @@ -59,6 +60,7 @@ class PostGISSpatialRefSys(models.Model, SpatialRefSysMixin): proj4text = models.CharField(max_length=2048) class Meta: + app_label = 'gis' db_table = 'spatial_ref_sys' managed = False