﻿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
32715	Duplicated CRUD permissions when renaming a model	MrEscape	nobody	"Hi, in a project I am developing I had to change a model class name. The migration process run successfully, but the CRUD permissions were duplicated in the User admin panel.

**Example:**
App name: Account
Previous model name: ParentCompany
New model name: ParentAccount

**Permissions:**
account | Parent Account | Can add parent account
**account | Parent Account | Can add parent company** this should not be available.

same behavior for change, delete, view

I had to delete the extra 4 rows in the corresponding tables directly in the database and now the problem was fixed.
Maybe this could be part of the migration process.

Best regards and thanks to the django team!!"	Bug	closed	contrib.auth	3.1	Normal	duplicate	auth_permission rename_model		Unreviewed	0	0	0	0	0	0
