﻿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
6261	Add support for customized WhereNode's and QUERY_TERMS.	jbronn	Malcolm Tredinnick	"In order to get !GeoDjango working with the queryset-refactor branch, a few modifications were needed to the `Query` class.  Specifically, the `GeoQuery` subclass of `Query` needs to the `GeoWhereNode` instead of the regular `WhereNode` for the construction of spatial SQL.  Moreover, `QUERY_TERMS` are still hard-coded in the `Query` class, which also needs to be extended so that geographic lookup types (e.g., `within`, `intersects`) are recognized.  

This patch adds the `where` keyword (which sets a `where_class` attribute of the `Query` class) to `Query.__init__` as well as a `get_terms` function, both of which may be used and/or overloaded by subclasses.  I'm open to suggestions for improvement."		closed	Database layer (models, ORM)	queryset-refactor		fixed	qs-rf where wherenode query terms gis		Accepted	1	0	0	0	0	0
