Re: Make copies of object: discussion for ticket #4027

2007-04-15 Thread Marek Kubica
Hi, On Sat, 14 Apr 2007 09:42:26 -0700, anders conbere wrote: > If you have many objects that differ by only one field, have you > considered moving that one field into it's own model? That would > allow you to to make "copies" by simply setting up a m2m relation. Unfortunately, it's not that

Re: Make copies of object: discussion for ticket #4027

2007-04-14 Thread anders conbere
On 4/14/07, Marek Kubica <[EMAIL PROTECTED]> wrote: > > Hi all, > > some days ago I had a problem: I needed to copy some objects from the > database preserving their values (and changing only one field). In #django > someone told me that this can be archived easily by setting the primary > key to

Make copies of object: discussion for ticket #4027

2007-04-14 Thread Marek Kubica
Hi all, some days ago I had a problem: I needed to copy some objects from the database preserving their values (and changing only one field). In #django someone told me that this can be archived easily by setting the primary key to None and saving. It worked well. But some days later I realized t