GIS compiler doesn't adhere to query expression api
|Reported by:||smeatonj||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||no||Needs documentation:|
|Needs tests:||Patch needs improvement:|
The new query expression API defines as_sql as as_sql(qn, connection), but has this note:
The qn has a compile() method that can be used to compile other expressions
The GIS compiler explicitly passes the quote_name function rather than itself.