﻿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
31783	Filtering on a field named `negate` raises a TypeError	Aaron Kirkbride	Hasan Ramezani	"Filtering on a model with a field named `negate` raises a `TypeError`.

For example:
{{{
class Foo(models.Model):
    negate = models.BooleanField()

Foo.objects.filter(negate=True)
}}}

raises `TypeError: _filter_or_exclude() got multiple values for argument 'negate'`

`negate` is not documented as a reserved argument for `.filter()`. I'm currently using `.filter(negate__exact=True)` as a workaround."	Bug	closed	Database layer (models, ORM)	3.0	Normal	fixed			Ready for checkin	1	0	0	0	1	0
