From f7c609b9dc8eb0ef53b5f2b5f9ee9da0d40dff46 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Sat, 22 Mar 2014 18:12:52 -0400 Subject: [PATCH] [1.7.x] Silenced PostGIS deprecation warnings. Backport of a6fc1859 from master --- django/contrib/gis/db/backends/postgis/models.py | 2 ++ 1 file changed, 2 insertions(+) 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