mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed build failure introduced by refs #23757.
This commit is contained in:
		| @@ -2,6 +2,7 @@ from django.contrib.gis.db.backends.base.features import BaseSpatialFeatures | |||||||
| from django.contrib.gis.geos import geos_version | from django.contrib.gis.geos import geos_version | ||||||
| from django.db.backends.sqlite3.features import \ | from django.db.backends.sqlite3.features import \ | ||||||
|     DatabaseFeatures as SQLiteDatabaseFeatures |     DatabaseFeatures as SQLiteDatabaseFeatures | ||||||
|  | from django.utils.encoding import force_text | ||||||
| from django.utils.functional import cached_property | from django.utils.functional import cached_property | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -19,4 +20,4 @@ class DatabaseFeatures(BaseSpatialFeatures, SQLiteDatabaseFeatures): | |||||||
|  |  | ||||||
|     @cached_property |     @cached_property | ||||||
|     def supports_3d_storage(self): |     def supports_3d_storage(self): | ||||||
|         return geos_version() >= '3.3' |         return force_text(geos_version()) >= '3.3' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user