﻿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
27511	Docs incorrect about related_model for GenericRelation being None	Amir Keivan Mohtashami	nobody	"The documentation says for field.related_model:
If a field has a generic relation (such as a GenericForeignKey or a GenericRelation) then related_model will be None.

However this is not true for GenericRelations. For these fields the related_model points to the model the field relates to just like the reverse of a ForeignKey. The documentation should be fixed, however this means that to the best of my knowledge, there is no way to distinguish between GenericRelation and reverse of a ForeignKey(short of checking if the field is an instance of GenericRelation).
"	Bug	closed	Documentation	1.10	Normal	fixed			Accepted	1	0	0	0	1	0
