Fixed build failure introduced by refs #23757.

This commit is contained in:
Tim Graham 2015-03-18 18:46:06 -04:00
parent 65129aac07
commit 02d78bb1a8
1 changed files with 2 additions and 1 deletions

View File

@ -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'