﻿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
21853	Manager.__module__ holds a wrong value.	loic84	nobody	"The combination of `BaseManager.from_queryset()` (Django 1.7 #20625) and `RenameMethodsBase` (Django 1.6 #15363) results in `Manager.__module__` having the wrong value. This can be an issue when trying to pickle the `Manager` class.

It's not immediately obvious to me why a `Manager` would need to be pickled but it caused an issue in a third party app; regardless, it's a regression and having the wrong `__module__` in error messages isn't helpful.

It's worth noting that we'll get rid of the `RenameMethodsBase` metaclass for `BaseManager` in 1.8, so this problem will eventually fix itself."	Bug	closed	Database layer (models, ORM)	dev	Release blocker	fixed			Unreviewed	1	0	0	0	0	0
