﻿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
27512	Dead code path in Model.__init__	Adam Johnson	Adam Johnson	"These lines in `Model.__init__` look suspicious to me:

{{{
# Maintain compatibility with existing calls.
if isinstance(field.remote_field, ManyToOneRel):
    kwargs.pop(field.attname, None)
}}}

There's no test coverage for them, and they have remained untouched since they were added in #3438 10 years ago, as an optimization rewrite of `Model.__init__`. Afaict they aren't needed."	Cleanup/optimization	closed	Database layer (models, ORM)	1.10	Normal	fixed		me@…	Unreviewed	1	0	0	0	0	0
