Re: how to create many records in a single transaction (or in a few transactions)?

2008-04-07 Thread Valery
Hi thanks, it worked out :) regards Valery On Apr 4, 2:04 pm, sector119 <[EMAIL PROTECTED]> wrote: > http://www.djangoproject.com/documentation/transactions/ > > On 4 Кві, 13:54, Valery <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > what is the usual Django's way to create many records in a sin

Re: how to create many records in a single transaction (or in a few transactions)?

2008-04-04 Thread sector119
http://www.djangoproject.com/documentation/transactions/ On 4 Кві, 13:54, Valery <[EMAIL PROTECTED]> wrote: > Hi all, > > what is the usual Django's way to create many records in a single > transaction (or in a few transactions)? > > I have a list of python dictionaries representing the records t

how to create many records in a single transaction (or in a few transactions)?

2008-04-04 Thread Valery
Hi all, what is the usual Django's way to create many records in a single transaction (or in a few transactions)? I have a list of python dictionaries representing the records to be created in my DB. It would be nice to avoid issuing of many transactions to DB. Sorry if I missed this in the docs