Something that is in a different direction, but might do the trick:check out http://code.google.com/p/django-batchadmin/ You could select multiple "children" and create an "add to parent..." action for it.
Hope it helps, TiNo On Mon, Oct 20, 2008 at 8:45 PM, endi <[EMAIL PROTECTED]> wrote: > > My database model includes a ForeignKey relationship. I'm writing the > admin.py. > > We have a lot of "children" and "parents". The expected workflow is: > create children one by one, then create parent, then add children to > the parent. The heaviness of the "child" model makes it unfit for > inline editing, both tabular and stacked. > > To make the last part (add children to parent) reasonably usable, I'm > trying to obtain a filter_horizontal interface in the parent's editing > form, representing the reverse relationship to that ForeignKey. > Unfortunately there seems to be no way to obtain the pretty JavaScript > interface for a reverse ForeignKey relationship. Using related_name as > the field's name seems not to work. > > So, is there a way I can have that interface in my admin? > > Thank you! > -- > Andy > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---