mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Remove old compatibility shims from d.c.gis.
This commit is contained in:
		| @@ -1,9 +0,0 @@ | |||||||
| from django.db import connection |  | ||||||
|  |  | ||||||
| if (hasattr(connection.ops, 'spatial_version') and |  | ||||||
|         not connection.ops.mysql): |  | ||||||
|     # Getting the `SpatialRefSys` and `GeometryColumns` |  | ||||||
|     # models for the default spatial backend.  These |  | ||||||
|     # aliases are provided for backwards-compatibility. |  | ||||||
|     SpatialRefSys = connection.ops.spatial_ref_sys() |  | ||||||
|     GeometryColumns = connection.ops.geometry_columns() |  | ||||||
| @@ -46,7 +46,8 @@ Minor features | |||||||
| :mod:`django.contrib.gis` | :mod:`django.contrib.gis` | ||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||||||
|  |  | ||||||
| * ... | * Compatibility shims for ``SpatialRefSys`` and ``GeometryColumns`` changed in | ||||||
|  |   Django 1.2 have been removed. | ||||||
|  |  | ||||||
| :mod:`django.contrib.messages` | :mod:`django.contrib.messages` | ||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user