mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	[1.7.x] Silenced PostGIS deprecation warnings.
Backport of a6fc1859 from master
			
			
This commit is contained in:
		
				
					committed by
					
						 Tim Graham
						Tim Graham
					
				
			
			
				
	
			
			
			
						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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user