﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21825	GIS compiler doesn't adhere to query expression api	jarshwah	nobody	"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

See: https://docs.djangoproject.com/en/dev/ref/models/custom-lookups/#django.db.models.as_sql

The GIS compiler explicitly passes the quote_name function rather than itself.
"	Uncategorized	closed	Database layer (models, ORM)	dev	Normal	fixed	lookups		Unreviewed	0	0	0	0	0	0
