﻿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
32380	GeoDjango lookups should support F() expressions.	Mohammad Hasanzadeh	nobody	"For example, if we need to calculate the distance between two field of the model with the `distance_gte` lookup like the following:

{{{
return queryset.filter(checkin_position__distance_gte=(F(""doctor_location__location__position""),  D(km=200)) )
}}}

We will get the following error:
`ValueError: Cannot use object with type F for a spatial lookup parameter.`

Note that `doctor_location__location__position` is a `PointField`."	New feature	closed	GIS	3.0	Normal	fixed	geodjango	Simon Charette	Unreviewed	0	0	0	0	0	0
