﻿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
23931	db_manager() method doesn't increment creation_counter	Rhett Garber	nobody	"Creating a manager with the db_manager() method can cause unexpected behavior. Consider the following:

{{{
class MyModel(models.Model):
    objects = models.Manager()
    ro_objects = objects.db_manager('ro')
}}}

There are certain situations where ro_objects becomes the 'default' manager of the object. Both of these managers have the same 'creation_counter'.

Patch is here: 
https://github.com/rhettg/django/compare/db_manager_creation_counter?expand=1"	Bug	new	Database layer (models, ORM)	1.7	Normal			Loic Bistuer	Accepted	1	0	0	1	0	0
