mirror of https://github.com/django/django.git
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…
Reference in New Issue