﻿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
20640	`get_deleted_objects` causes an error if there is no change view.	Keryn Knight <django@…>	Rainer Koirikivi	"The [https://github.com/django/django/blob/0268aba96bf91de3d172cd6ce2e44c3ce33ef7a0/django/contrib/admin/util.py#L111 format_callback] used for rendering the objects to be deleted on the confirmation screen doesn't attempt to fail gracefully, if there is no named URL fitting the ""namespace:appname_modelname_change"" - if `get_urls()` is overridden on a `ModelAdmin` subclass to either change, remove or replace the `change_view`, the delete page will never work due to a `NoReverseMatch`.

Proposed solution: `NoReverseMatch` should be caught, and the format should end up the same as if `has_admin` were `False`.

(note: link to GitHub above is to the latest revision in master, as I write this.)"	Bug	closed	contrib.admin	dev	Normal	fixed			Accepted	1	0	0	0	0	0
