﻿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
16187	Refactor lookup system	Ulrich Petri	Anssi Kääriäinen	"There are a few tickets that propose adding new lookup types [1][2][3][4] and
also one [5] that suggests adding the possibility for custom fields to have the
ability to add their own lookup types.

The current implementaion is not able to distinguish between field names and
lookup types when querying through a relation.

I briefly talked about this topic with Russel, Janis and Alex at the
djangocon.eu 2011 sprints. The consensus was that it would be worthwile to do a
refactor in this area. It would also allow django to have ""awesome fields"" as
Alex called it :)

I'm starting this ticket to track work in this area and also ""bundle"" the other
related tickets. I'll also attach a patch with a basic testcase that fails with
the current implementation.


[1] #8424 [[BR]]
[2] #9596 [[BR]] 
[3] #10911 [[BR]]
[4] #12489 [[BR]]
[5] #14263 [[BR]]
"	Cleanup/optimization	closed	Database layer (models, ORM)	dev	Normal	fixed		charette.s@… sfllaw@… FunkyBob mpessas@… loic@…	Accepted	1	0	0	1	0	0
