syntax :P
This commit is contained in:
parent
5165d8a0f3
commit
5b49036c8f
|
@ -24,7 +24,7 @@ class FeatureSearchManager(models.GeoManager):
|
||||||
cursor = connection.cursor()
|
cursor = connection.cursor()
|
||||||
cursor.execute("""SELECT set_limit(%f)""" % threshold)
|
cursor.execute("""SELECT set_limit(%f)""" % threshold)
|
||||||
|
|
||||||
def find(self, bbox=None, text=None, adm1=None, adm2=None srid=4326):
|
def find(self, bbox=None, text=None, adm1=None, adm2=None, srid=4326):
|
||||||
qset = self.get_query_set()
|
qset = self.get_query_set()
|
||||||
if bbox:
|
if bbox:
|
||||||
(minx, miny, maxx, maxy) = bbox
|
(minx, miny, maxx, maxy) = bbox
|
||||||
|
|
Loading…
Reference in New Issue
Block a user