﻿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
25113	Field lookup for __not_in	Evan Tschuy	nobody	"Making a query where I can get all of the objects matching a certain list is quite useful. However, Django currently doesn't allow me to get objects that DON'T match a list:

`test = ProductPreparation.objects.filter(
    product=product,
    preparation__id__not_in=preparations)`

I feel like adding a field lookup for `__not_in` would be helpful. I've created a pull request on Github:

https://github.com/django/django/pull/4984

I've not added any tests to it, as I couldn't find any tests for ``__in``, and don't quite know how to test an entire field lookup. Apologies; would love pointers."	New feature	new	Database layer (models, ORM)	dev	Normal				Unreviewed	1	0	0	0	0	0
