mirror of
https://github.com/django/django.git
synced 2025-09-28 13:04:54 +00:00
Fixed GeoSQLCompiler to pass itself correctly to column as_sql.
This commit is contained in:
parent
84d88f5cbe
commit
0eba8bd8f6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue