﻿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
13171	field_subclassing test failing, needs to use get_prep_lookup	Gabriel Hurley	Gabriel Hurley	"I ran the full unit test suite this morning (Windows, SQLite3), and found that the field_subclassing tests were failing because the expected error for an invalid `lookup_type` wasn't being raised.

It turns out that the test had not been updated to reflect `get_prep_lookup()` being factored out of `get_db_prep_lookup()`.

This patch corrects that, and raises a TypeError instead of a FieldError, since the docs say ""Your method must be prepared to handle all of these lookup_type values and should raise [...] a TypeError if your field does not support that type of lookup.""

Patch is attached, and the test now passes."		closed	Database layer (models, ORM)	dev		fixed	get_prep_lookup, get_db_prep_lookup		Ready for checkin	1	0	0	0	0	0
