﻿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
27832	contenttypes migration not following the doc on hints naming	Hervé Cauwelier	Hervé Cauwelier	"Hi,

The second migration for contenttypes provides a RunPython operation: https://github.com/django/django/blob/master/django/contrib/contenttypes/migrations/0002_remove_content_type_name.py#L33

As you can see on the highlighted line, the hint is named ""model_name"".

But the doc suggests the key should be ""model"": https://docs.djangoproject.com/en/1.10/topics/db/multi-db/#allow_migrate

Not a big issue but I ran into this when writing the ""allow_migrate"" method of a database router."	Bug	closed	contrib.contenttypes	1.10	Normal	invalid			Accepted	1	0	0	0	0	0
