Re: mymodel.save() does not work in django but works in python shell

2009-05-11 Thread Karen Tracey
On Mon, May 11, 2009 at 1:22 PM, NoviceSortOf wrote: > Now get this -- if I add a 'return' to the end of the function it adds > the rows -- why is this? > This, combined with the sequence number increasing but being unable to actually see rows added, makes me think perhaps without the return wher

Re: mymodel.save() does not work in django but works in python shell

2009-05-11 Thread NoviceSortOf
Thanks for your reply, I'm thinking and working outloud on the answers that follow, I've a solution sort of but remain mystified as to why and how it works. > How are you deciding it's not working? via pgAdminIII where I can see the sequence table being incremented + 1 on every django save but

Re: mymodel.save() does not work in django but works in python shell

2009-05-11 Thread Karen Tracey
On Mon, May 11, 2009 at 11:32 AM, NoviceSortOf wrote: > > > An observation I've made it that django does update the related > sequence_id table of the table but does not add a row to the table. > How are you deciding it's not working? Are you seeing errors? Does the object have a pk assigned af

Re: mymodel.save() does not work in django but works in python shell

2009-05-11 Thread NoviceSortOf
An observation I've made it that django does update the related sequence_id table of the table but does not add a row to the table. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to th