I think it's been mentioned before in this thread, but DSE was made to
help solve problems this. The other solutions I've seen for this
problem, like the one mentioned by Karen, lack several of DSE's
features, like handling of default values defined in your model.

https://bitbucket.org/weholt/dse2

And yes, I'm the author of DSE ;-)

Regards,
Thomas


On Sun, Dec 4, 2011 at 3:53 AM, Karen Tracey <kmtra...@gmail.com> wrote:
> On Sat, Dec 3, 2011 at 9:37 PM, Nathan McCorkle <nmz...@gmail.com> wrote:
>>
>> when you say 'as long as you don't use the ORM for inserts',
>
>
> You do not want to be building and saving objects individually with the ORM.
> You want to be using some form of bulk insert. Django 1.4 will add bulk
> create capability (see
> https://docs.djangoproject.com/en/dev/ref/models/querysets/#bulk-create).
> Prior to 1.4 you can use the development trunk level code, or you can find
> other libraries that provide bulk insert (see for example
> http://ole-laursen.blogspot.com/2010/11/bulk-inserting-django-objects.html).
> http://www.caktusgroup.com/blog/2011/09/20/bulk-inserts-django/ mentions the
> kinds of speedups you can expect with using a bulk insert technique vs.
> creating objects individually with the ORM.
>
> Karen
> --
> http://tracey.org/kmt/
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.



-- 
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to