mirror of
https://github.com/django/django.git
synced 2025-02-26 10:14:32 +00:00
Fixed GeoSQLCompiler to pass itself correctly to column as_sql.
This commit is contained in:
parent
84d88f5cbe
commit
0eba8bd8f6
@ -55,7 +55,7 @@ class GeoSQLCompiler(compiler.SQLCompiler):
|
||||
aliases.add(r)
|
||||
col_aliases.add(col[1])
|
||||
else:
|
||||
col_sql, col_params = col.as_sql(qn, self.connection)
|
||||
col_sql, col_params = col.as_sql(self, self.connection)
|
||||
result.append(col_sql)
|
||||
params.extend(col_params)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user