Re: Creating multiple objects at once

2013-09-30 Thread Hector Armando Vela Santos
well, you can always write the raw SQL querie... https://docs.djangoproject.com/en/1.4/topics/db/sql/ On Sunday, September 29, 2013 10:16:47 PM UTC-5, Lachlan Musicman wrote: > > Hola, > > I have a inventory system with Parts and Part types. Part Types are > Archetypes, parts are instances of

Creating multiple objects at once

2013-09-29 Thread Lachlan Musicman
Hola, I have a inventory system with Parts and Part types. Part Types are Archetypes, parts are instances of Part Types with details (unit cost, serial number, date of purchase, etc). A big issue is that not all Parts have serial numbers (box of 1000 screws for instance). But when we get a large

Re: Creating multiple objects at once

2009-06-30 Thread Gabriel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Christian escribió: > If there a way to create multiple objects at once without calling .save > () for each object. > > Editing 200 objects with .update() is much faster than doing the same > thing with .safe() and I'm searching for a similar way

Creating multiple objects at once

2009-06-30 Thread Christian
If there a way to create multiple objects at once without calling .save () for each object. Editing 200 objects with .update() is much faster than doing the same thing with .safe() and I'm searching for a similar way to create new objects. --~--~-~--~~~---~--~~

Creating multiple objects at once

2006-08-01 Thread baasbartels
Hi all, I´m currently writing an app to track expenses (using Django). For this I´ve a simple datamodel which basically consists of two model classes: Register and Entry. The idea is that you can book expenses in various Registers, one Entry representing a particular Expense. Now my issue is