Re: Process Related Object when Saving

2012-05-15 Thread ghachey
: # Generate and send report only if creating for first time (insert) parent_obj = form.instance generate_pdf(parent_obj) I think the above does what I wanted; so far so good anyway. -- GH On May 16, 3:55 pm, ghachey wrote: > Hi; > > I am trying to g

Process Related Object when Saving

2012-05-15 Thread ghachey
Hi; I am trying to generate a printable report when saving objects for the first time. This is easy enough except I can't easily access related objects by overriding save() as they are not saved yet, nor are they available within the save() method. The new ModelAdmin.save_related() in Django 1.4

Forms in a Workflow for Related Models

2010-10-28 Thread ghachey
Hi, I think I have a particular case. I could not find an easy way to do this going carefully through all the documentation. I also couldn't find anything close enough in these archives to help me out with my limited experience so I am resorting to asking you. I have a Paper model which records