Re: update other objects when saving an object:

2011-10-28 Thread Tim
Hi Brian, That helps indeed! The code is working now; seems like I need to work on the logic, but now I'm getting somewhere. thanks, --Tim -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups

Re: update other objects when saving an object:

2011-10-28 Thread Brett Epps
django-users@googlegroups.com>> Date: Fri, 28 Oct 2011 10:03:42 -0700 To: mailto:django-users@googlegroups.com>> Subject: update other objects when saving an object: Hi, I've modeled a Book that has Chapters, with each Chapter having an ordering 'sequence'. So when someone

update other objects when saving an object:

2011-10-28 Thread Tim
Hi, I've modeled a Book that has Chapters, with each Chapter having an ordering 'sequence'. So when someone decides the first chapter in the book should become the third, they can just change the sequence number. That's fine, but when that happens, I want the other chapters to automatically cha