﻿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
32675	Migration autodetector detects unnecessary changes.	Mariusz Felisiak	David Wobrock	"Migration autodetector detects nonexistent changes in `ForeignKey`, it's probably because previous migrations have the `to_field` parameter. For Django itself it detects two changes:
- `django/contrib/admin/migrations/0004_alter_logentry_content_type.py`
{{{
migrations.AlterField(
    model_name='logentry',
    name='content_type',
    field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='contenttypes.contenttype', verbose_name='content type')
),
}}}
- `django/contrib/auth/migrations/0013_alter_permission_content_type.py`
{{{
migrations.AlterField(
    model_name='permission',
    name='content_type',
    field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.contenttype', verbose_name='content type'),
)
}}}



Regression in aa4acc164d1247c0de515c959f7b09648b57dc42 (see #29899)."	Bug	closed	Migrations	4.0	Release blocker	fixed		David Wobrock Simon Charette	Ready for checkin	1	0	0	0	0	0
