﻿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
13085	GenericForeignKey.get_content_type fails if `object` or `id` evaluate to False.  Should use 'is not None' test.	Ben	Ramiro Morales <cramm0@…>	{{{contenttypes.GenericForeignKey.get_content_type}}} is used to find the content type of an object.  If the object evaluates to False, then an error is raised.  This is because 'if obj:' is used, rather than 'if obj is not None:'.  The same problem exists for the 'id' argument, and I believe also in the {{{__get__}}} method.	Bug	closed	contrib.contenttypes	dev	Normal	fixed			Accepted	1	0	0	1	0	0
