Re: Save model as new record in db

2009-09-07 Thread lzantal
Hi, On Sep 7, 3:14 am, Jarek Zgoda wrote: > Wiadomość napisana w dniu 2009-09-07, o godz. 11:11, przez lzantal: > > > I need to save_as in the model of my app So I can save existing > > records as new ones. > > I know there is an option in modeladmin but I don't have an admin > > interface for t

Re: Save model as new record in db

2009-09-07 Thread Jarek Zgoda
Wiadomość napisana w dniu 2009-09-07, o godz. 11:11, przez lzantal: > I need to save_as in the model of my app So I can save existing > records as new ones. > I know there is an option in modeladmin but I don't have an admin > interface for this app. > Tryed calling force_insert on the save metho

Re: Save model as new record in db

2009-09-07 Thread Maksymus007
save(force_insert=True) ? On Mon, Sep 7, 2009 at 11:11 AM, lzantal wrote: > > Hi, > > I need to save_as in the model of my app So I can save existing > records as new ones. > I know there is an option in modeladmin but I don't have an admin > interface for this app. > Tryed calling force_insert o

Save model as new record in db

2009-09-07 Thread lzantal
Hi, I need to save_as in the model of my app So I can save existing records as new ones. I know there is an option in modeladmin but I don't have an admin interface for this app. Tryed calling force_insert on the save method with no success. Any help would be greatly appreciated thank you lzan