mirror of https://github.com/django/django.git
Fixed build failure introduced by refs #23757.
This commit is contained in:
parent
65129aac07
commit
02d78bb1a8
|
@ -2,6 +2,7 @@ from django.contrib.gis.db.backends.base.features import BaseSpatialFeatures
|
|||
from django.contrib.gis.geos import geos_version
|
||||
from django.db.backends.sqlite3.features import \
|
||||
DatabaseFeatures as SQLiteDatabaseFeatures
|
||||
from django.utils.encoding import force_text
|
||||
from django.utils.functional import cached_property
|
||||
|
||||
|
||||
|
@ -19,4 +20,4 @@ class DatabaseFeatures(BaseSpatialFeatures, SQLiteDatabaseFeatures):
|
|||
|
||||
@cached_property
|
||||
def supports_3d_storage(self):
|
||||
return geos_version() >= '3.3'
|
||||
return force_text(geos_version()) >= '3.3'
|
||||
|
|
Loading…
Reference in New Issue