Adding links to full change forms for inline items in django admin?

Posted by David Eyk on Stack Overflow See other posts from Stack Overflow or by David Eyk
Published on 2010-05-18T12:01:23Z Indexed on 2010/05/18 12:10 UTC
Read the original article Hit count: 348

I have a standard admin change form for an object, with the usual StackedInline forms for a ForeignKey relationship. I would like to be able to link each inline item to its corresponding full-sized change form, as the inline item has inlined items of its own, and I can't nest them.

I've tried everything from custom widgets to custom templates, and can't make anything work. So far, the "solutions" I've seen in the form of snippets just plain don't seem to work for inlines. I'm getting ready to try some DOM hacking with jQuery just to get it working and move on.

I hope I must be missing something very simple, as this seems like such a simple task!

Using Django 1.2.

© Stack Overflow or respective owner

Related posts about django

Related posts about django-admin