I submitted a patch to the admin change form template --
http://code.djangoproject.com/ticket/15931.
Meanwhile, you can temporarily get around the problem on a per-application
basis by adding the attached file to the application package directory
at templates/admin//change_form.html.
--D
--
OK, that's good. However, I don't really understand why the admin site
employs such an extremely convoluted method here. If you follow the logic
from the change form, here's what happens:
if has_absolute_url (i.e., the object model has a "get_absolute_url"
attribute) ...
-> display "view on
On Fri, Apr 29, 2011 at 2:18 PM, David Chandek-Stark
wrote:
> [...]
> Now, I think the problem
> is that this method uses the database for the contenttypes app instead of
> the alternate database
> (see http://code.djangoproject.com/browser/django/tags/releases/1.3/django/contrib/contenttypes/mo
3 matches
Mail list logo