﻿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
22288	F() expression not compatible with __range field look up	liushaohua86@…	Matthew Wilkes	"{{{
class TestModel(models.Model):
    a = models.SmallIntegerField()
    b = models.SmallIntegerField()

TestModel.objects.filter(a__range=(F('b')-1, F('b')+1)

TypeError: int() argument must be a string or a number, not 'ExpressionNode'
}}}"	Bug	closed	Database layer (models, ORM)	dev	Normal	fixed		github@… josh.smeaton@… matthew@…	Accepted	1	0	0	1	0	0
