﻿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
15931	Patch for admin change form to dodge multi-db bug	David Chandek-Stark	nobody	"A multi-db bug in django.contrib.contenttypes is triggered via the ""View on site"" link on the admin site change form when the model uses a different db from the contenttypes app (see discussion at https://groups.google.com/d/topic/django-users/Y50SimNd8zo/discussion and related ticket at #15610).  If I follow the logic correctly, there is no need to route the ""View on site"" link through django.contrib.contenttypes.views.shortcut b/c the admin view has already determined that the model has implemented get_absolute_url, and the shortcut view simply repeats the process -- i.e. by a convoluted method that gets the object and calls get_absolute_url -- except that it trips the aforementioned bug.  While this bug should obviously be fixed, the change form can be patched with the attached file."	Cleanup/optimization	closed	contrib.admin	1.3	Normal	invalid			Design decision needed	1	0	1	0	1	0
