Kaydet (Commit) ed336a1a authored tarafından Tim Graham's avatar Tim Graham

Fixed gis_tests when run without GIS dependencies.

üst d974c89e
from __future__ import unicode_literals
from django.contrib.gis.geos import HAS_GEOS, Point
from django.contrib.gis.geos import HAS_GEOS
from django.contrib.gis.measure import D # alias for Distance
from django.db import connection
from django.db.models import Q
......@@ -9,7 +9,7 @@ from django.test import TestCase, skipUnlessDBFeature
from ..utils import no_oracle, oracle, postgis, spatialite
if HAS_GEOS:
from django.contrib.gis.geos import GEOSGeometry, LineString
from django.contrib.gis.geos import GEOSGeometry, LineString, Point
from .models import (AustraliaCity, Interstate, SouthTexasInterstate,
SouthTexasCity, SouthTexasCityFt, CensusZipcode, SouthTexasZipcode)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment