fixed bug in last commit, thanks User
This commit is contained in:
1 parent
53122bfa9f
commit
cda7c66637
2 files changed
+4
-3
No files matched your search
@@ -1 +1 @@
|
|||||||
Version 2.8.2-stable+timestamp.2013.12.09.17.05.33
|
Version 2.8.2-stable+timestamp.2013.12.09.17.54.55
|
||||||
+3
-2
@@ -2984,8 +2984,9 @@ class PostgreSQLAdapter(BaseAdapter):
|
|||||||
"""
|
"""
|
||||||
http://postgis.org/docs/ST_Within.html
|
http://postgis.org/docs/ST_Within.html
|
||||||
"""
|
"""
|
||||||
return 'ST_DWithin(%s,%s)' %(self.expand(first), self.expand(second, first.type),
|
return 'ST_DWithin(%s,%s,%s)' %(self.expand(first),
|
||||||
self.expand(third, 'double'))
|
self.expand(second, first.type),
|
||||||
|
self.expand(third, 'double'))
|
||||||
|
|
||||||
def represent(self, obj, fieldtype):
|
def represent(self, obj, fieldtype):
|
||||||
field_is_type = fieldtype.startswith
|
field_is_type = fieldtype.startswith
|
||||||
|
|||||||
Reference in new issue
Block a user