[1.7.x] Silenced PostGIS deprecation warnings.
Backport of a6fc1859
from master
This commit is contained in:
parent
fda3eccea3
commit
f7c609b9dc
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue