﻿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
18931	Add predicate functionality to Q objects	Preston Holmes	Preston Holmes	"A predicate is condition that can be matched against some item to determine whether that item meets the condition.

Django has a relatively rich set of lookup terms that can be used in filtering a queryset.

What is proposed is a new behavior of a Q object, that allows the conditions described in the formation of a Q instance, to be tested agains a model instance.

The initial implementation of this was released separately:

https://github.com/ptone/django-predicate

Current work-in-progress to bring this into Django is here:

https://github.com/ptone/django/compare/master...q-predicate

"	New feature	closed	Database layer (models, ORM)	dev	Normal	wontfix			Accepted	1	0	0	1	0	0
