﻿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
26127	ReverseManyToOneDescriptor doesn't respect use_for_related_fields attribute	Robert Robinson	nobody	"The other two descriptors respect the flag and will use the _base_manager if the manager has use_for_related_fields set to false.  The ReverseManyToOneDescriptor always uses the _default_manager regardless of whether it is supposed to or not.

{{{
def related_manager_cls(self):
        return create_reverse_many_to_one_manager(
            self.rel.related_model._default_manager.__class__,
            self.rel,
        )
}}}

Or am I misunderstanding: 

  If this attribute is set on the default manager for a model (only the default manager is considered in these situations), Django will use that class whenever it needs to automatically create a manager for the class. Otherwise, it will use django.db.models.Manager.
"	Bug	closed	Database layer (models, ORM)	1.9	Normal	duplicate			Unreviewed	0	0	0	0	0	0
