﻿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
32137	Change message describing the deletion of inline objects in admin has no id available	Vlada Macek	nobody	"Sometimes the developer wishes the `id` to be a part of the `Model.__str__`.
Such model could of course be as **inline** in other model admin.
When such inline object is deleted, the `save_related()` of the formset deletes it just before the first call of `construct_change_message()` in https://github.com/django/django/blob/master/django/contrib/admin/options.py#L1586 chimes in.

At that moment, the `id` is None and ""None"" makes it to the ""Deleted ..."" `LogEntry.change_message` for the formset.
"	Cleanup/optimization	closed	contrib.admin	dev	Normal	needsinfo		Richard Laager	Unreviewed	0	0	0	0	0	0
